microsoft / vscode-powerquery

Visual Studio Code extension for Power Query / M.
MIT License
88 stars 16 forks source link

No intellisense or error checking #107

Closed ReturnOfTheMac1 closed 2 years ago

ReturnOfTheMac1 commented 3 years ago

Hi - Intellisense/auto complete is not working with my power query extension in VS code.

Syntax highlighting is working, but it won't autocomplete for me. Also, it won't do any error checking.

Steps I have tried:

My system: Windows 10, 64 bit, VS Code 1.60.1

Any suggestions? Thanks

JordanBoltonMN commented 3 years ago

Can you confirm what file extensions you're using VSCode with?

ReturnOfTheMac1 commented 3 years ago

Hi Thanks for getting back to me. I'm using it with *. pq file extensions. Any ideas? Thanks

On Wed, 13 Oct 2021, 16:29 JordanBoltonMN, @.***> wrote:

Can you confirm what file extensions you're using VSCode with?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/microsoft/vscode-powerquery/issues/107#issuecomment-942421236, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALPZL6YXJPXUPRKHUFMPSWLUGWQT7ANCNFSM5EEKSI2Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

JordanBoltonMN commented 3 years ago

Are you able to share your .pq file? Perhaps with anonymized connection info since the parser doesn't care what you're connecting to.

ReturnOfTheMac1 commented 3 years ago

Hi - it's actually every PQ file that I create - not just one particular file that has the problem. If I put deliberate errors in the code it doesn't detect them - see screenshot below. It should flag no comma before an In...

Thanks

[image: image.png]

On Thu, 14 Oct 2021 at 22:23, JordanBoltonMN @.***> wrote:

Are you able to share your .pq file? Perhaps with anonymized connection info since the parser doesn't care what you're connecting to.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/microsoft/vscode-powerquery/issues/107#issuecomment-943744630, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALPZL6ZJQFYDAWUDFJ4I45TUG5C3XANCNFSM5EEKSI2Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

ReturnOfTheMac1 commented 3 years ago

Hmm can't send screenshots via email so here it is again: image

ReturnOfTheMac1 commented 3 years ago

I did a hard uninstall of VS Code and reinstalled the extension. It still doesn't work but I got a different error this time which may provide a clue. Any idea? image

JordanBoltonMN commented 3 years ago

Interesting. @mattmasson we initially have an undefined value for serverSettings, assign it during connection.onInitialized, then consume it in during either analysis or onDocumentSymbol. I can't tell from my reading the docs, but I think the initialize function should trigger before onDocumentSymbols. Does this check out with your understanding?

JordanBoltonMN commented 2 years ago

Closing as transient and outdated.