-
Notifications
You must be signed in to change notification settings - Fork 513
Typing "n" breaks intellisense #193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hey @Sharpiro, I just tried this with the latest releases of everything and couldn't reproduce it. Could you send some logs from the language server so that we can diagnose the issue? You can gather logs by following these instructions: Open up your VS Code User Settings (File -> Preferences -> User Settings) and insert this line into the file that appears in the pane on the right side:
Now restart VS Code and open a PowerShell file and try getting IntelliSense for a variable, then navigate to this path on your hard drive:
There should be a file there called EditorServices.log. Could you drag and drop it into your reply to this issue? |
So i tried reproducing this error on my personal machine and I could not do it either. This is currently only occuring on my work machine.
I was surprised to see it say anything about notepad++. I ensured that app was closed and still had the same results. |
This is the interesting bit:
I'm looking at it. Doh. This one is mine. I should have regex escaped the tooltip text before injecting it into a regex pattern. Well, at least it should be easy to fix. |
any idea why this is happening sporadically, and what I could do for a workaround? |
Not yet but I can repro this exception so that should give me some confidence to fix it. |
@Sharpiro Do you have |
I'm closing this issue here and tracking it in PSES PowerShell/PowerShellEditorServices#240 |
I do have notepad++ on both machines, and the application installs to the machine's path by default I believe. |
On the machine that works, if you go to the PowerShell console and type |
yea it does, this auto-populates
My work machine is Win7 while my home machine(the one with no issues) is Win10, both using Powershell 5, though it was manually installed on the Win7 box. |
Well I'm stumped for the moment. I was able to repro on my Windows 10 machine running version |
As for a workaround - how often do you use notepad++.exe? :-) The only workaround I know of is to either temporarily remove the notepad++ install dir from the path or rename notepad++.exe to maybe notepadpp.exe until we push out 0.6.2. |
removing it from path worked. I can now type the letter "n" again lol. Thanks. |
Sorry, that's kind of a crappy workaround (and my bad for introducing this bug in the first place) but that's all I got until we can push out updated bits. |
Since I've got another bug fix ready, I might be able to ship 0.6.2 on Monday. |
Uh oh!
There was an error while loading. Please reload this page.
Description
When I type "n" on a fresh line, intellisense breaks until application is restarted
Repo
Ex:
Notes
The text was updated successfully, but these errors were encountered: