VS templates indistinguishable

visual-studio
(Peters William) #1

Visual Studio 2019.
Project templates for different languages have the same name and cannot distinguish.
%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20190412213750

Also, by the way, why isn’t auto-completing brackets and parentheses possible?

0 Likes

(marc hoffman) #2

William,

yeah, we’re working on that. unfortunately VS2019 (which is still Experimental) made a total mess of the New Project dialog, including dropping our ability to register/show templates properly :(.

0 Likes

(RemObjects) #3

Thanks, logged as bugs://82357

0 Likes

(Peters William) #4

Thanks

1 Like

(marc hoffman) #5

I’m sorry, I had missed this part originally. Can you elaborate?

0 Likes

(Srcy Wang) #6

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.

0 Likes

(marc hoffman) #7

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?

0 Likes

(RemObjects) #8

Thanks, logged as bugs://82396

0 Likes

(Srcy Wang) #9

Just a new Island Swift project with this single file.

0 Likes

(Srcy Wang) #10

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.

0 Likes

(marc hoffman) #11

the code in your video isn’t swift though,…

0 Likes

(Srcy Wang) #12

Sorry, empty Island C# project

0 Likes

(marc hoffman) #13

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?

thanx,
marc

0 Likes

(Srcy Wang) #14

Sorry, it’s just for representation, so I deleted that. To reproduce this problem, please do:

  1. Create a new Island C# project
  2. Open the default file
  3. Define a class A just like I did in the gif
  4. Try to write “A a=new A()” inside the main function
0 Likes

(marc hoffman) #15

Reproduced, thanx. Logged as 82408.

0 Likes