DevExpress / vscode-rushnav

Essential TypeScript Navigation
Other
2 stars 3 forks source link

RushNav Ctr+Alt+N/P not working #10

Open Harag9 opened 4 years ago

Harag9 commented 4 years ago

Hi, As requested from the devexpress site I'm creating an issue -- https://www.devexpress.com/Support/Center/Question/Details/T836159/rushnav-for-vs-code

I have a project that when I press the ctrl+alt+N/P key nothing happens, if however I copy the whole project and rename the main project folder it works. Nothing else has changed so very strange.

I've zipped up the whole folder of the one that fails and attached the code. (apologies for the size)

As requested I've copied the TS Server Log file as well... A failed one from the project attached, and one that success after renaming the folder from HTT to HandHeld.

Comparing the 2 TSServer log files, it seems to be loading something called TSFeature. In the failed one it seems to be using the local project path, but in the one that works, it's using the ROAMING path... I have no idea why this happens. but have a feeling this is where the issue is.

SupplyChain.HHT.zip tsserver_4_devExpress_FAILED.log tsserver_4_DevExpress_SUCCESS.log

Harag9 commented 4 years ago

I think I have "SOLVED" this, but can you confirm?

  1. Open TS file e.g. (helper.ts found in the \website\src\class\ folder
  2. bottom right of the VS Code window​ it tells me the TS version (3.7.2)
  3. Clicking this version number I can switch it to use​ "VS Codes Version (Global install) -- or the WORKSPACE version.
  4. If I open the SUCCESS project, and then switch it to use the WORKSPACE version --- this then FAILS...
  5. If I switch it BACK to the global version of TS, it then works again.

So it looks like the problem lies with using the workspace version rather than the global version of TS.​

Hope this makes sense.​

Droni commented 4 years ago

Hi,

Yes, you are absolutely right. Extensions are installed locally and currently you should use VS Code Version of the TS Server. We will research a possibility of loading our extension from the workspace version and inform you about our progress.

Harag9 commented 4 years ago

Excellent, thanks for confirming the issue. Hopefully you can solve this issue as other users might be using the local version.