All Questions
Tagged with code-snippets autocomplete
34 questions
0
votes
0
answers
17
views
configure autocomplete snippits in nvim for .hbs file
How do I configure autocomplete snippets for .hbs (Handlebars) files in Neovim using the NvChad framework?
I'm using Neovim with the NvChad configuration framework, and I want to enable autocomplete/...
0
votes
1
answer
107
views
How can I apply a Postfix Completion to an expression separated by spaces in PyCharm
I'm new in PyCharm IDE and I'm now personalizing my code snippets (Live Templates | Postix Completion) but don't know the syntax and limits of which.
I've seen there is a Postfix Completion whose ...
4
votes
1
answer
592
views
Switch case autocomplete not working in Android Studio after dart3 migration
In the past I successfully used switch auto completing for creating all the missing cases. But after migrating to the dart 3 that's feature not work yet. All what I see - the error message about ...
0
votes
1
answer
939
views
Python code boilerplate generation/editing like in Sublime for VS Code
In a Sublime .py file when you type the letter c you get a suggestion for a new class. Press Tab and you get
with the multicursor adequately set. How do you do this in VS Code? The py plugin with ...
0
votes
0
answers
26
views
in vscode, when i type clg, i should be given the console.log() suggestion first, instead i get something else, why? [duplicate]
i am using vscode as my editor, and i'm making a small meteo app in nextjs. For a few days, i've been having a problem that i can't seem to solve.
Example 1: when i type clg, the editor is supposed to ...
0
votes
1
answer
76
views
Condition snippets in vscode
I've been trying to add a snippet/autocomplete in VSCode that works only inside quotes, for easily adding interpolation. Example of what I'm trying to achieve:
"Ruby string interpolation": {
...
0
votes
2
answers
307
views
Is there a way to create a code snippet with an arbitrary prefix? (VScode)
I'm looking to create a VScode snippet that would execute on an arbitrary prefix. I'm not exactly sure if a snippet is the right term for it, but here's what I'm thinking:
myFunction();
// Autofill ...
1
vote
0
answers
96
views
How to prevent vscode show snippets on strings
When I'm typing a string in VSCode, especially paths, sometimes I want to use the autocomplete function, so I can see the available files and folders while I type, but instead VSCode shows me all of ...
0
votes
1
answer
1k
views
vscode auto insert <?php when creating a php file
I want vs code to automatically add <?php when creating a new php file
Is there any Extension or code snippets that I can add in the snippet.code-snippets.json file?
I searched on the internet but ...
0
votes
1
answer
202
views
How to have a Sublime Text plugin override the user's default "auto_complete_selector" setting?
The rationale for this is to build an ESLint rule auto-completion plugin, but of course, I don't want ESLint rule autocompletes suggested outside my comments, and I also don't want to have to enable ...
1
vote
1
answer
594
views
Improving how autocomplete works for img tag in React
I am learning to use React and using Visual Studio Code.
When I insert an image I write: .
I installed the extension: ES7 React/Redux/GraphQL/React-Nativesnippets and it's working with for example ...
2
votes
2
answers
647
views
Get func placeholder values from a snippet to appear after hitting tab at top level code level
New to swift and xcode, version 11.3.1.
If I hit func<tab> in a class, the placeholder values pop in nicely and I can tab through them to complete them.
However, when I have a simple ...
0
votes
0
answers
1k
views
VS Code Python Extension Default Snippets
This is a followup to this question. The answer in there properly answers how to override snippets, but it doesn't address the actual location of the default ones.
Recall the problematic snippet I'm ...
0
votes
1
answer
284
views
How to make VSCode snippets that trigger only in double quote
I want to create a small VSCode plugin that has autocomplete function for the Bootstrap classes.
I would like this autocomplete to work only when the cursor is between double quotation marks.
Is it ...
3
votes
1
answer
52
views
VSCode: Add snippets to semantic completions?
In VSCode, is it possible to tap into semantic suggestions and modify what's inserted when that suggestion is accepted?
In other words, in a JavaScript file, typing in myArr.r will show the reduce ...