-
Notifications
You must be signed in to change notification settings - Fork 27
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
Suggestion doesn't work in templates defined outside the file #42
Comments
This sounds more like something to be reported in Nim repo as it is more likely nimsuggest bug/limitaiton. |
I thought I'd start here, but I'll report it there too |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When doing a suggestion in a template defined outside a file it doesn't suggest correctly.
mainFile.nim
other.nim
When inside
![image](https://private-user-images.githubusercontent.com/26968035/246590487-817e3503-b7fb-42f3-b5bd-086abd75a55c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg1ODU3NDAsIm5iZiI6MTcxODU4NTQ0MCwicGF0aCI6Ii8yNjk2ODAzNS8yNDY1OTA0ODctODE3ZTM1MDMtYjdmYi00MmYzLWI1YmQtMDg2YWJkNzVhNTVjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MTclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjE3VDAwNTA0MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTIxNzY1ZmM3OWM0Y2M3NGE1OWE5YzZmMDFmODAxNTEyYTkyMWRiYjA0NGM0N2MwYTg2YjczYjBkNjRmZWYyZGUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.fIWxSiw-kVe36s1cUTFm1wQJUNo4q88pCXIL6PChoas)
![image](https://private-user-images.githubusercontent.com/26968035/246590497-769ea048-b783-4ae9-bdaa-4eb0a73fe0b4.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg1ODU3NDAsIm5iZiI6MTcxODU4NTQ0MCwicGF0aCI6Ii8yNjk2ODAzNS8yNDY1OTA0OTctNzY5ZWEwNDgtYjc4My00YWU5LWJkYWEtNGViMGE3M2ZlMGI0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MTclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjE3VDAwNTA0MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWUzZmIzMzk2NzdiOGE4N2M5NzBlODU1MmJhZGNlYTMyYzM3OGVkNjkwZWE5NzBjNGQ5MmIzNTAwNGI0NTk5MzYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.yNKLFgRV2JnDmv8Nxa6TOTT2Ag-7YoVcNKIUwc-hOwA)
template2():
state.
provides the appropriate completionstate.testVal
When inside template_outside completion doesn't work for
state.
or forotherState.
the completion list simply shows all symbolsThe text was updated successfully, but these errors were encountered: