Inline suggestion does not work when there is a .hg folder #212
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
Describe the bug
It seems inline suggestion does not work in projects using mercurial, which has a .hg folder, as the files twinny uses have the extension of the SCM folder, which is removed in:
twinny/src/extension/file-interaction.ts
Line 144 in ef38e35
The Error is:
2024-04-16 10:27:29.269 [error] [rjmacarthy.twinny] provider FAILED
2024-04-16 10:27:29.269 [error] CodeExpectedError: cannot open file:///raid/standards/base-setups/risebase/production/scripts/auto_inactive.py.hg. Detail: Unable to read file '/raid/standards/base-setups/risebase/production/scripts/auto_inactive.py.hg' (Error: Unable to resolve nonexistent file '/raid/standards/base-setups/risebase/production/scripts/auto_inactive.py.hg')
at r.$tryOpenDocument (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:2163:62448)
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The inline completions should work
The text was updated successfully, but these errors were encountered: