Smart completion - request

Hey guys.

Can you
exchange "smart completion" and "regular completion" by default?

I think (and i beleave many ppls will agree) - smart filter to completion
list
is enought and usable. I have tested it in last few days.

In rare situations we can press hotkey to list full completion list,
but most of this situations sign about developer self mistake in left side
or parameters context. This sign is usable too. +1

Its faster code typing:
1. Most times in work with self maded classes, smart completion filter
list to 1-2 selections. Faster way is to simple press Enter for continue
typing.
2. When we work with enums, "smart completion" list filter only context
with enumerables for left side or for context in parameters. No dirts.

P.S.
CtrlShiftSpace - i hate this not most easy hotkey after few days
of "smart" conding.


9 comments
Comment actions Permalink

You can remap the keyboard shortcuts yourself...

Hey guys.

Can you
exchange "smart completion" and "regular completion" by default?
I think (and i beleave many ppls will agree) - smart filter to
completion
list
is enought and usable. I have tested it in last few days.
In rare situations we can press hotkey to list full completion list,
but most of this situations sign about developer self mistake in left
side
or parameters context. This sign is usable too. +1
Its faster code typing:
1. Most times in work with self maded classes, smart completion filter
list to 1-2 selections. Faster way is to simple press Enter for
continue
typing.
2. When we work with enums, "smart completion" list filter only
context
with enumerables for left side or for context in parameters. No dirts.
P.S.
CtrlShiftSpace - i hate this not most easy hotkey after few days
of "smart" conding.



0
Comment actions Permalink


"Amir Kolsky" <kolsky@actcom.net.il> wrote in message
news:7c6d9752703d8c82c82cc66636c@news.jetbrains.com...

You can remap the keyboard shortcuts yourself...


But i can't remap popup with completion after
pressing dot, and auto-popup when i typing
(have enabled option "Auto-popup after a character is typed")


0
Comment actions Permalink

But i can't remap popup with completion after
pressing dot, and auto-popup when i typing
(have enabled option "Auto-popup after a character is typed")


Do you really want this? I can believe that you may rarely use constructs
with more than 2 dots (like "x.Foo().Bar()") but I cannot believe you never
user constructs like "xyz.Foo()" where 'xyz' and 'Foo' have different types.
In the above case auto displaying of Smart completion on typing 'x' would
not include 'xyz'.

Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

"Amir Kolsky" <kolsky@actcom.net.il> wrote in message
news:7c6d9752703d8c82c82cc66636c@news.jetbrains.com...

>> You can remap the keyboard shortcuts yourself...
>>

But i can't remap popup with completion after
pressing dot, and auto-popup when i typing
(have enabled option "Auto-popup after a character is typed")



0
Comment actions Permalink


"Valentin Kipiatkov (JetBrains)" <valentin@jetbrains.com> wrote in message
news:3fdb29a6b66948c82d45eb1e9c56@news.intellij.net...

Do you really want this?


Absolutely.

I can believe that you may rarely use constructs with more than 2 dots
(like "x.Foo().Bar()") but I cannot believe you never user constructs like
"xyz.Foo()" where 'xyz' and 'Foo' have different types.


So, how many times you use this constructions? Affraid 1-2 times of 1000
typed code words.
I beleave, its better to press hotkey to show full completion list
1-2 times of 1000, than press hotkey 998 times to show "smart" list
as it now.
:))

Anyway, you can try it as experiment in nearest build.
If too many ppls then say "f#uck up this feauture", you
can change it all back in next build. Beta - is beta. Its no problem.

So... you do it?

Thanx.
ivan.tsarevich


0
Comment actions Permalink

"Valentin Kipiatkov (JetBrains)" <valentin@jetbrains.com> wrote in
message news:3fdb29a6b66948c82d45eb1e9c56@news.intellij.net...

>> I can believe that you may rarely use constructs with more than 2
>> dots (like "x.Foo().Bar()") but I cannot believe you never user
>> constructs like "xyz.Foo()" where 'xyz' and 'Foo' have different
>> types.
>>

So, how many times you use this constructions? Affraid 1-2 times of
1000
typed code words.
I beleave, its better to press hotkey to show full completion list
1-2 times of 1000, than press hotkey 998 times to show "smart" list
as it now.
:))

I think a closer estimate would be 50 to 50. If you do not know the smart
completion
shortcut you can still keep body and soul together. But if an ordinary completion
was possible only through an exotic (as you put it;)
shortcut it would make users really upset.


Thanx.
ivan.tsarevich

Thanks,
Andrey Simanovsky


0
Comment actions Permalink


"Andrey Simanovsky (JetBrains)" <ands@intellij.com> wrote in message
news:c8a8a15d10da18c82d4b6ce753fd@news.intellij.net...

I think a closer estimate would be 50 to 50.


50% of your code is not compatible with smart completion?..
Can't beleave, its hardcore hack of C# type control.

If you can make example with 20-30 lines of code, where
50% of typing is incompatible with "smart completion" -
i'll eat my hat.

It is very simple mathematics. If >50% of code typing is
compatible with "smart completion" (but i beleave its close to 100%)
- then "smart" have advantages. It similar to common sense? :)))

Thanx,
ivan.tsarevich.


0
Comment actions Permalink

Hello ivan.tsarevich,

Personally I think the defaults should stay the way they are, I find them
very intuitive and have never noticed any inconvenience while using them.

Also, consider the following code lines when you mention that near 100% of
all code access the correct types directly:

DataRow row = table.Rows[0]; // table.Rows is not a DataRow

int i=0; while (i++ < array.Length) {} // array is not an int

if (myObject.IsEnabled) { } // myObject is not a bool

...

I bet I could make you eat your hat by posting 20 lines of data access code
like this:

ArrayList result = new ArrayList(); // this one is compatible
using (OracleDataReader reader = command.ExecuteReader()) //
command is not a reader
{
while (reader.Read()) // reader is not a bool
{
result.Add(reader.GetString(0)); // reader is not a string
}
}

:)

Greetings,

Guy



"Andrey Simanovsky (JetBrains)" <ands@intellij.com> wrote in message
news:c8a8a15d10da18c82d4b6ce753fd@news.intellij.net...

>> I think a closer estimate would be 50 to 50.
>>

50% of your code is not compatible with smart completion?.. Can't
beleave, its hardcore hack of C# type control.

If you can make example with 20-30 lines of code, where 50% of typing
is incompatible with "smart completion" - i'll eat my hat.

It is very simple mathematics. If >50% of code typing is
compatible with "smart completion" (but i beleave its close to 100%)
- then "smart" have advantages. It similar to common sense? :)))
Thanx,
ivan.tsarevich.



0
Comment actions Permalink


"Guy Mahieu" <g@g.com> wrote in message
news:ca2e39a47f968c82ddd3421a450@news.jetbrains.com...

I bet I could make you eat your hat by posting 20 lines of data access
code like this: ArrayList result = new ArrayList(); // this one is
compatible using (OracleDataReader reader = command.ExecuteReader()) //
command is not a reader
{
while (reader.Read()) // reader is not a bool
{
result.Add(reader.GetString(0)); // reader is not a
string
}
}
:)


Hehehehe. :)))) 16 words in your code. 3 of them - incompatible.
Its 18,75% of code. Too far from 50%

Better. 2 of 3 incompatible - its a near local variable, i'm shure, you
didn't
need competion for "reader". Only one of 16 is true incompatible with
"smart" completion.

ivan.tsarevich


0
Comment actions Permalink

Hello ivan.tsarevich,

i'm shure, you didn't
need competion for "reader".


I need completion for about everything :))

Cheers,

Guy


0

Please sign in to leave a comment.