mirror of
https://github.com/latex-lsp/texlab.git
synced 2025-08-04 18:58:31 +00:00
parent
f42b02b57a
commit
51d201b2f0
1 changed files with 4 additions and 2 deletions
|
@ -97,13 +97,15 @@ Add the following lines to your editor config:
|
|||
```json
|
||||
{
|
||||
"texlab.forwardSearch.executable": "okular",
|
||||
"texlab.forwardSearch.args": ["--editor-cmd": "code -g \"%%f\":%%l", "--unique", "file:%p#src:%l%f"]
|
||||
"texlab.forwardSearch.args": ["--unique", "file:%p#src:%l%f"]
|
||||
}
|
||||
```
|
||||
|
||||
### Inverse Search
|
||||
|
||||
Change the editor of Okular (Settings -> Configure Okular... -> Editor) to "Custom Text Editor" and set the following command:
|
||||
Change the editor of Okular (Settings -> Configure Okular... -> Editor) to "Custom Text Editor"
|
||||
and set the editor command.
|
||||
For Visual Studio Code, you can use the following command:
|
||||
|
||||
```bash
|
||||
code -g "%f":%l
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue