VS code, julia linter doesn't work (on mac)

你。 提交于 2021-02-17 02:04:12

问题


having assured myself that julia is enabled and that the linter is too (in vs code settings: Julia › Lint: Run), i get syntax highlighting on my xxx.jl script but no linting at all.

im on the latest vs code + latest julia 1.07 extension + latest macosx. i did a clean installation of vs code, wiping all old related folders prior to installation (https://stackoverflow.com/a/53839847/11608725) so julia is the only extension/package installed, no conflicts should be present.

what am i missing?

thanks!


edit/update:

i also found that i can NOT run an open script (via the leftmost button)

a pop-up says

and clicking on open launch.json gives

from which point on im pretty much stuck. googling around, a couple of very similar issues appeared (eg. https://stackoverflow.com/a/61284896/11608725, https://github.com/microsoft/vscode/issues/94725#issuecomment-612062020), but which should presumably have been fixed with vs code 1.44 and i am on 1.49.

perhaps the no-linting is related to this?


回答1:


Have you tried Julia Formatter 0.3.0 for vs code? This has always worked for me.



来源:https://stackoverflow.com/questions/63983407/vs-code-julia-linter-doesnt-work-on-mac

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!