-
Notifications
You must be signed in to change notification settings - Fork 47
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
Completion for pkg path inside strings #340
Conversation
const [, openingQuote, fileProtocol] = match; | ||
//include every absolute file path from this scope | ||
for (const file of scope.getAllFiles()) { | ||
const pkgPath = `${fileProtocol}:/${file.pkgPath.replace(/\\/g, '/')}`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pkgPath
is supposed to be normalised already no? Seems like a waste.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Until #329 merges, pkgPath uses windows separators on windows, and unix separators everywhere else. So this is absolutely necessary right now.
Notable Changes:
pkg:
orlibpkg:
.I couldn't get this to auto-show the completions while typing. so you have to manually activate the intellisense menu using a keyboard shortcut or the command pallet.
fixes #333
fixes #228