Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » B3 » question/issue : changing ~= operator to ?=
question/issue : changing ~= operator to ?= [message #538103] Fri, 04 June 2010 21:38 Go to next message
Henrik Lindberg is currently offline Henrik Lindberg
Messages: 2499
Registered: July 2009
Senior Member
Hi,
after having typed ~= many times and found it very irritating in Eclipse
editors that the sequence to enter this has to be:
'~' ' '|'<esc>' '='
whereas it in the native mac is fine to type just '~' '='.
In Eclipse any character after ~ that it does not recognize as
composable deletes the ~ character.

All Eclipse editors (I tried) have the same behavior.
('vi' works fine though ;) )

I have the same issue when entering a regexp ~/.../.

How does this work on the Linux and Windows versions of Eclipse (try it
in a Java editor for instance).

Anyway, this has led me to consider replacing the use of ~ with ?. i.e.
'~=' becomes '?=' and patterns become ?/../ for regexp and ?" " for
simple pattern.

- henrik
Re: question/issue : changing ~= operator to ?= [message #538107 is a reply to message #538103] Sat, 05 June 2010 01:21 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas Hallgren
Messages: 3229
Registered: July 2009
Senior Member
I see several reasons not to do that change:

1. p2ql uses ~=. We cannot change that. Not now and not later.
2. Only some of the European keyboards suffer from this. A US keyboard
has the tilde as a first class character (shifted at top left). Same
thing on a French keyboard.
3. The ~= intuitively leads me to believe that this must be an
approximation which is fairly close to what it really is.

- thomas


On 06/05/2010 03:38 AM, Henrik Lindberg wrote:
> Hi,
> after having typed ~= many times and found it very irritating in Eclipse
> editors that the sequence to enter this has to be:
> '~' ' '|'<esc>' '='
> whereas it in the native mac is fine to type just '~' '='.
> In Eclipse any character after ~ that it does not recognize as
> composable deletes the ~ character.
>
> All Eclipse editors (I tried) have the same behavior.
> ('vi' works fine though ;) )
>
> I have the same issue when entering a regexp ~/.../.
>
> How does this work on the Linux and Windows versions of Eclipse (try it
> in a Java editor for instance).
>
> Anyway, this has led me to consider replacing the use of ~ with ?. i.e.
> '~=' becomes '?=' and patterns become ?/../ for regexp and ?" " for
> simple pattern.
>
> - henrik
Re: question/issue : changing ~= operator to ?= [message #538166 is a reply to message #538107] Sat, 05 June 2010 20:10 Go to previous messageGo to next message
Henrik Lindberg is currently offline Henrik Lindberg
Messages: 2499
Registered: July 2009
Senior Member
Well,
it is kind of broken in Eclipse - see if we can get it fixed in the
editor - it should not behave that way. (And I like the ~= too, I just
don't like typing it in eclipse :)

- henrik

On 6/5/10 7:21 AM, Thomas Hallgren wrote:
> I see several reasons not to do that change:
>
> 1. p2ql uses ~=. We cannot change that. Not now and not later.
> 2. Only some of the European keyboards suffer from this. A US keyboard
> has the tilde as a first class character (shifted at top left). Same
> thing on a French keyboard.
> 3. The ~= intuitively leads me to believe that this must be an
> approximation which is fairly close to what it really is.
>
> - thomas
>
>
> On 06/05/2010 03:38 AM, Henrik Lindberg wrote:
>> Hi,
>> after having typed ~= many times and found it very irritating in Eclipse
>> editors that the sequence to enter this has to be:
>> '~' ' '|'<esc>' '='
>> whereas it in the native mac is fine to type just '~' '='.
>> In Eclipse any character after ~ that it does not recognize as
>> composable deletes the ~ character.
>>
>> All Eclipse editors (I tried) have the same behavior.
>> ('vi' works fine though ;) )
>>
>> I have the same issue when entering a regexp ~/.../.
>>
>> How does this work on the Linux and Windows versions of Eclipse (try it
>> in a Java editor for instance).
>>
>> Anyway, this has led me to consider replacing the use of ~ with ?. i.e.
>> '~=' becomes '?=' and patterns become ?/../ for regexp and ?" " for
>> simple pattern.
>>
>> - henrik
>
Re: question/issue : changing ~= operator to ?= [message #538170 is a reply to message #538166] Sat, 05 June 2010 21:29 Go to previous message
Henrik Lindberg is currently offline Henrik Lindberg
Messages: 2499
Registered: July 2009
Senior Member
I reported it as an issue:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=315894

BTW: It is only the text editors that have it wrong, it works ok in all
dialogs.

- henrik

On 6/6/10 2:10 AM, Henrik Lindberg wrote:
> Well,
> it is kind of broken in Eclipse - see if we can get it fixed in the
> editor - it should not behave that way. (And I like the ~= too, I just
> don't like typing it in eclipse :)
>
> - henrik
>
> On 6/5/10 7:21 AM, Thomas Hallgren wrote:
>> I see several reasons not to do that change:
>>
>> 1. p2ql uses ~=. We cannot change that. Not now and not later.
>> 2. Only some of the European keyboards suffer from this. A US keyboard
>> has the tilde as a first class character (shifted at top left). Same
>> thing on a French keyboard.
>> 3. The ~= intuitively leads me to believe that this must be an
>> approximation which is fairly close to what it really is.
>>
>> - thomas
>>
>>
>> On 06/05/2010 03:38 AM, Henrik Lindberg wrote:
>>> Hi,
>>> after having typed ~= many times and found it very irritating in Eclipse
>>> editors that the sequence to enter this has to be:
>>> '~' ' '|'<esc>' '='
>>> whereas it in the native mac is fine to type just '~' '='.
>>> In Eclipse any character after ~ that it does not recognize as
>>> composable deletes the ~ character.
>>>
>>> All Eclipse editors (I tried) have the same behavior.
>>> ('vi' works fine though ;) )
>>>
>>> I have the same issue when entering a regexp ~/.../.
>>>
>>> How does this work on the Linux and Windows versions of Eclipse (try it
>>> in a Java editor for instance).
>>>
>>> Anyway, this has led me to consider replacing the use of ~ with ?. i.e.
>>> '~=' becomes '?=' and patterns become ?/../ for regexp and ?" " for
>>> simple pattern.
>>>
>>> - henrik
>>
>
Re: question/issue : changing ~= operator to ?= [message #608294 is a reply to message #538103] Sat, 05 June 2010 01:21 Go to previous message
Thomas Hallgren is currently offline Thomas Hallgren
Messages: 3229
Registered: July 2009
Senior Member
I see several reasons not to do that change:

1. p2ql uses ~=. We cannot change that. Not now and not later.
2. Only some of the European keyboards suffer from this. A US keyboard
has the tilde as a first class character (shifted at top left). Same
thing on a French keyboard.
3. The ~= intuitively leads me to believe that this must be an
approximation which is fairly close to what it really is.

- thomas


On 06/05/2010 03:38 AM, Henrik Lindberg wrote:
> Hi,
> after having typed ~= many times and found it very irritating in Eclipse
> editors that the sequence to enter this has to be:
> '~' ' '|'<esc>' '='
> whereas it in the native mac is fine to type just '~' '='.
> In Eclipse any character after ~ that it does not recognize as
> composable deletes the ~ character.
>
> All Eclipse editors (I tried) have the same behavior.
> ('vi' works fine though ;) )
>
> I have the same issue when entering a regexp ~/.../.
>
> How does this work on the Linux and Windows versions of Eclipse (try it
> in a Java editor for instance).
>
> Anyway, this has led me to consider replacing the use of ~ with ?. i.e.
> '~=' becomes '?=' and patterns become ?/../ for regexp and ?" " for
> simple pattern.
>
> - henrik
Re: question/issue : changing ~= operator to ?= [message #608323 is a reply to message #538107] Sat, 05 June 2010 20:10 Go to previous message
Henrik Lindberg is currently offline Henrik Lindberg
Messages: 2499
Registered: July 2009
Senior Member
Well,
it is kind of broken in Eclipse - see if we can get it fixed in the
editor - it should not behave that way. (And I like the ~= too, I just
don't like typing it in eclipse :)

- henrik

On 6/5/10 7:21 AM, Thomas Hallgren wrote:
> I see several reasons not to do that change:
>
> 1. p2ql uses ~=. We cannot change that. Not now and not later.
> 2. Only some of the European keyboards suffer from this. A US keyboard
> has the tilde as a first class character (shifted at top left). Same
> thing on a French keyboard.
> 3. The ~= intuitively leads me to believe that this must be an
> approximation which is fairly close to what it really is.
>
> - thomas
>
>
> On 06/05/2010 03:38 AM, Henrik Lindberg wrote:
>> Hi,
>> after having typed ~= many times and found it very irritating in Eclipse
>> editors that the sequence to enter this has to be:
>> '~' ' '|'<esc>' '='
>> whereas it in the native mac is fine to type just '~' '='.
>> In Eclipse any character after ~ that it does not recognize as
>> composable deletes the ~ character.
>>
>> All Eclipse editors (I tried) have the same behavior.
>> ('vi' works fine though ;) )
>>
>> I have the same issue when entering a regexp ~/.../.
>>
>> How does this work on the Linux and Windows versions of Eclipse (try it
>> in a Java editor for instance).
>>
>> Anyway, this has led me to consider replacing the use of ~ with ?. i.e.
>> '~=' becomes '?=' and patterns become ?/../ for regexp and ?" " for
>> simple pattern.
>>
>> - henrik
>
Re: question/issue : changing ~= operator to ?= [message #608329 is a reply to message #538166] Sat, 05 June 2010 21:29 Go to previous message
Henrik Lindberg is currently offline Henrik Lindberg
Messages: 2499
Registered: July 2009
Senior Member
I reported it as an issue:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=315894

BTW: It is only the text editors that have it wrong, it works ok in all
dialogs.

- henrik

On 6/6/10 2:10 AM, Henrik Lindberg wrote:
> Well,
> it is kind of broken in Eclipse - see if we can get it fixed in the
> editor - it should not behave that way. (And I like the ~= too, I just
> don't like typing it in eclipse :)
>
> - henrik
>
> On 6/5/10 7:21 AM, Thomas Hallgren wrote:
>> I see several reasons not to do that change:
>>
>> 1. p2ql uses ~=. We cannot change that. Not now and not later.
>> 2. Only some of the European keyboards suffer from this. A US keyboard
>> has the tilde as a first class character (shifted at top left). Same
>> thing on a French keyboard.
>> 3. The ~= intuitively leads me to believe that this must be an
>> approximation which is fairly close to what it really is.
>>
>> - thomas
>>
>>
>> On 06/05/2010 03:38 AM, Henrik Lindberg wrote:
>>> Hi,
>>> after having typed ~= many times and found it very irritating in Eclipse
>>> editors that the sequence to enter this has to be:
>>> '~' ' '|'<esc>' '='
>>> whereas it in the native mac is fine to type just '~' '='.
>>> In Eclipse any character after ~ that it does not recognize as
>>> composable deletes the ~ character.
>>>
>>> All Eclipse editors (I tried) have the same behavior.
>>> ('vi' works fine though ;) )
>>>
>>> I have the same issue when entering a regexp ~/.../.
>>>
>>> How does this work on the Linux and Windows versions of Eclipse (try it
>>> in a Java editor for instance).
>>>
>>> Anyway, this has led me to consider replacing the use of ~ with ?. i.e.
>>> '~=' becomes '?=' and patterns become ?/../ for regexp and ?" " for
>>> simple pattern.
>>>
>>> - henrik
>>
>
Previous Topic:issues with property terminal
Next Topic:issues with property terminal
Goto Forum:
  


Current Time: Wed Aug 27 19:15:11 EDT 2014

Powered by FUDForum. Page generated in 0.02184 seconds