Keybindings.json #3461
Unanswered
Francesco-2003
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Preliminary questions [Required]
Disable all the other extensions except for LaTeX Workshop, restart VS Code, and check that you still see this issue. [Required]
You still see this issue?: Yes
Make sure to visit the wiki FAQ before filling an issue.
You visited the wiki?: Yes
If your issue is with compiling a document (not having to do with finding the root file of a project), check first that you can compile manually.
You can compile a TeX document manually?: Yes/No
Describe the bug [Required]
Hello, the problem I found is in the file "Keybindings.json", that you can open by opening command palette and typing "Preferences: Open Keyboard Shortcuts (JSON)".
The problem is that, for example, when I want a code like this:
// indefinite integral
{
"key": "cmd+k",
"when": "editorTextFocus && !editorReadonly && editorLangId == 'latex'",
"command": "editor.action.insertSnippet",
"args": {
"snippet": "\int ${1:${TM_SELECTED_TEXT: f(x)}} \ d ${2:x}"
}
},
the part in $1, which should be "f(x)", doesn't appear all the time, sometimes it appears just "x" instead of "f(x)".
I was also wondering if there is a code to make the code i just wrote to work just in math mode, so just in "$...$", "[...]"...
Thank you
Beta Was this translation helpful? Give feedback.
All reactions