-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Intellisense support is disabled when using the .code-workspace file #150
Comments
Could you please provide more details on which parts of IntelliSense are not activated with the current setup? I don't use VS Code a lot, but I noticed that in Visual Studio the katas which have a dependency on |
I see that some of the information IntelliSense shows on mouse hover differs in VS Code depending on where the file was opened from - if opened from root it shows full help for, say, X gate, but if opened from one of the kata folders it shows just "Variable X". Is this the behavior you're referring to? Unfortunately, I'm not familiar with the management of workspace folders in VS Code. A quick search through the settings docs doesn't show anything similar to setting workspace folder. @cgranade You know VS Code a lot better than I do - any suggestions? |
I suspect this has to do with multifolder workspace support in the VS Code extension. Ideally, each folder in a workspace would get its own instance of the language server. One thing that might be helpful is to look at the output log for the extension, as that might mention if there's a project it can't load or something of that form that's easier to knock out. Press Ctrl+Shift+U and then select the Q# extension from the dropdown list on the output panel. |
When filing this I was basically hoping there might be a handle in the .code-workspace file to define a working directory that we could leverage. From what I gather there unfortunatly isn't. I would hence suggest to actually remove this file from the repo, since the benefit of having it seems a bit limited. |
For Visual Studio Code, a The other advantage we get from providing a All that said, I definitely agree that until we get multifolder workspace support in the VS Code extension, we run into limitations with the |
Looks like the consensus is that there is no action possible in the QuantumKatas repo to mitigate this issue. Closing this issue as "won't fix". |
In order for intellisense to be fully activated, the workspace folder needs to be the top level katas folder. Maybe this can be configured in the file?
The text was updated successfully, but these errors were encountered: