-
Notifications
You must be signed in to change notification settings - Fork 28.2k
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
Snippets show in inline suggestions even though they are turned off #175190
Comments
Thanks for the patience. I cannot reproduce, please share more of your settings that might influence this. Also share data in a copy-paste friendly way (text over images) |
@jrieken Here are the settings that I am using to reproduce (all extensions disabled {
"editor.inlineSuggest.enabled": true,
"editor.snippetSuggestions": "none",
"editor.quickSuggestions": {
"other": "inline",
"comments": "inline",
"strings": "inline"
},
"editor.inlineSuggest.showToolbar": "always"
} Once typing |
Thanks for clarifying, looks like we aren't passing the filter here:
|
I can't figure out how to get that ghost text to show up for suggestions to verify this. I've never seen that ghost text for anything but copilot completions |
You are right. I made a refactoring after this fix and that broke this feature 😨 Thanks for the diligence on this one! |
* restore inline suggestion fixes #175190 * fix leak in test
To verify, use the steps from #175190 (comment). Make sure no snippets completions are ghost-texted with |
I still cannot get snippet completions to show up @jrieken |
@meganrogge You need to say what you are trying because I do see them working just fine ![]() |
This works correctly for me now, no snippets with |
Bang on. The whole point is that the |
@meganrogge this is about ghost text, please see #175190 (comment) and the comment linked from there |
🤦🏼♀️ there was a syntax error in my settings.json file, so the settings did not get applied. Now it works 👍🏼 |
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
Using the following settings:
![image](https://user-images.githubusercontent.com/1571806/220792553-02456d7a-4e96-4d05-9578-b5c062db1d78.png)
![image](https://user-images.githubusercontent.com/1571806/220792593-26697018-7fda-4821-b75a-fc4c8aae149e.png)
fo
within a method/functionThe text was updated successfully, but these errors were encountered: