Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » B3 » question/issue : changing ~= operator to ?=
question/issue : changing ~= operator to ?= [message #538103] Sat, 05 June 2010 01:38 Go to next message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
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 05:21 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
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] Sun, 06 June 2010 00:10 Go to previous messageGo to next message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
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] Sun, 06 June 2010 01:29 Go to previous message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
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 05:21 Go to previous message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
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] Sun, 06 June 2010 00:10 Go to previous message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
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] Sun, 06 June 2010 01:29 Go to previous message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
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: Fri Apr 19 11:41:52 GMT 2024

Powered by FUDForum. Page generated in 0.02273 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top