Thanks, logged as bugs://82357
I’m sorry, I had missed this part originally. Can you elaborate?
The auto-complete system is kind of forcing.
If I type exactly “A a=new A()”, this would happen:
I suggest to apply the auto-complete only when “Enter” pressed instead of pressing any key.
It looks like Code Completion is showing bad data (but its hard to say coz the gif plays too quickly), thats why this happens. CC should normally only ever auto-complete when in cases where all valid elements are on the list (such as here). There also seems to be an NRE happening in CC after
=, which is probably part of/contributes to the problem.
Can you send me the project that shows this?
Thanks, logged as bugs://82396
Just a new Island Swift project with this single file.
The parenthesis problem he’s talking about is probably that the “auto-complete brackets” option of the RemObjects editors in VS settings are disabled and cannot be checked. Also, in VC# editors, when we type a “(“, the editor would automatically append a “)” and set the cursor between the “(“ and “)”, but this is not available in Water and Elements VS Plugin.
the code in your video isn’t swift though,…
Sorry, empty Island C# project
An empty Island project would not have .NET namespaces in the uses clause though. (which might be part of the problem.
Can you send me the exact project where you see this CC behavior, please?
Sorry, it’s just for representation, so I deleted that. To reproduce this problem, please do:
- Create a new Island C# project
- Open the default file
- Define a class A just like I did in the gif
- Try to write “A a=new A()” inside the main function
Reproduced, thanx. Logged as 82408.
bugs://82396 got closed with status duplicate.
bugs://82357 got closed with status fixed.
But the problem still exists in build .2399 (The templates in VS2019 still doesn’t have tags and are indistinguishable)
Can you test with .2401?
I would wait for the next stable release for the fix.
The auto complete system problem is quite severe. If I want to type “String str;”, when I type the “;”, the auto complete system would replace the “str” with “String”, so that the whole statement would become “String String;”, so annoying. I suggest not selecting an auto complete item by default, and we could select one manually by pressing the key “up”. Also, prevent the auto complete list from showing while typing the name of a class/variable.