Closed munkybutt closed 1 year ago
I don't think we resolve any relative path in settings. Not even we treat it as a path but just a string. So pyright just receives the string as is. VSCode behaves like this too.
Both of ST and VSCode work in my test.
Since you didn't show the folders
in your project settings, I don't know what ..
means.
Cool ok - so it should work in Sublime. I will investigate further, likely it is another plugin preventing this from working as expected.
So it looks like the paths are resolved relative to each folder in the project, rather than the .sublime-project
file itself - which makes perfect sense.
Thanks for your help!
Hey - In an attempt to work around https://github.com/sublimelsp/LSP-pyright/issues/241 I am trying to move all my LSP-pyright settings to my
.sublime-project
file. Relative paths don't seem to work though, is this intentional? It might not be a LSP-pyright issue, but relative paths work in other areas of.sublime-project
files and they work in VSCode.workspace
files.This is the behaviour I am experiencing:
Any insight is appreciated.