You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Launch app and open any folder which contains C# files.
Open any .cs file and verify all the recommended extensions are installed to get intellisense.
Try to add some code for File IO operation without adding any namespace for IO operation. Like:
public GlobalIntakeToolTokenCache(string userId)
{
File
}
Use intellisens to fix error.
Verify all the available options and compare them with visual studio.
Actual:
1 The order of the suggestions in the list are not displaying according to user preference. In my case I am expecting It should ask for adding the namespace System.IO.
2. When I selected second option form the list "Create field" then it is added a File variable and didn't fix the issue.
3. When I selected the forth option from the list "Create property" then it is added property but didn't fix the issue.
4. When I selected the fifth options "Declare local variable then it is creating a new variable with var keyword and considering my declare type as a class File. It looks like: var file = File;
Expected: System should be smart enough to display the common actions first. Like in my case when I type a Keyword File then my intension is to use C# inbuilt APIs.
This should be much better in 1.7 (to be released soon). It's not perfect, but we've done a lot of work here to improve the experience around the ordering of code actions in the light bulb and to only show those code actions that are relevant.
From @v-pavanp on March 17, 2016 4:36
Steps to Reproduce:
public GlobalIntakeToolTokenCache(string userId)
{
File
}
Actual:
1 The order of the suggestions in the list are not displaying according to user preference. In my case I am expecting It should ask for adding the namespace System.IO.
2. When I selected second option form the list "Create field" then it is added a File variable and didn't fix the issue.
3. When I selected the forth option from the list "Create property" then it is added property but didn't fix the issue.
4. When I selected the fifth options "Declare local variable then it is creating a new variable with var keyword and considering my declare type as a class File. It looks like: var file = File;
Expected: System should be smart enough to display the common actions first. Like in my case when I type a Keyword File then my intension is to use C# inbuilt APIs.
Copied from original issue: microsoft/vscode#4347
The text was updated successfully, but these errors were encountered: