Comments (4)
Hey,
I've started working on a PR for this issue, but I need some help.
The images are saved in a JSON file, so it seems that adding the Unicode representation of commands to that file is the right way to go. But, that file is not under version control, and I don't know how to update it. Does anyone know how to update that file?
Also, I've pushed the branch to here, and since I'm a rust and texlab novice I would appreciate your input.
from texlab.
Thanks for your help. The data.json
file is auto-generated with the help of a Python script. You should add the data to the script, we can then upload a new version. I think the best way to implement this is to add a glyph
field to the Command
class. If you need data, I suggest to look into the unimathsymbols.txt data set.
In the language server, we should place the glyph always in the detail
field of the CompletionItem
. This should simplify things greatly and VS Code users would benefit from this too.
from texlab.
@or17191 We tested your code and it works fine. So, we merged it into the master.
We will push a new release soon.
from texlab.
I'm closing this for now since the main issue (completion documentation
for commands) is fixed, and anything beyond that doesn't seem reasonable at the moment.
from texlab.
Related Issues (20)
- Slow performance on multi-file project and not respecting `.texlabroot` or `texlabroot` files? HOT 2
- Errors persist after fixing what caused them in BBEdit (Texlab 5.13.0) HOT 2
- Complete undefined references when defining new labels.
- [Feature proposal] Is it possible to make LaTeX LSP work for other file types like html or markdown? HOT 4
- correctly parse Theorem nmbs in aux-file when ntheorem is used
- Syntax extension of the \label command when using cleveref package
- Regression? finding project root HOT 10
- Autocomplete in \ref{} is empty when using colon in Neovim. HOT 2
- Thmtool's \declaretheorem should also accept list of environment names HOT 1
- ConcealLevel Support? HOT 2
- Custom LaTeX Commands Misinterpreted as Citations Causing Errors
- Support more macros for defining commands
- Support "Go To References" for commands
- Generic inverse search using show document request
- Disabling individual warnings HOT 1
- Allow extending label commands (not just ref)
- Lsp panics after deleting last line of a file HOT 6
- Forward search broken with empty latexmkrc
- project detection: .latexmkrc in higher level parent directory HOT 2
- texlab reports dublicate and unused label in macro definition
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from texlab.