LuaLS / LuaLS/lua-language-server
Lua.semantic.keyword fails to correctly format hexadecimal escape sequences in strings
Open
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 4.4k
- Forks
- 442
- PR merge metrics
- No merged PRs in 30d
Description
How are you using the lua-language-server?
Visual Studio Code Extension (sumneko.lua)
Which OS are you using?
Windows
What is the issue affecting?
Formatting
Expected Behaviour
Actual Behaviour
Reproduction steps
Enable Lua.semantic.keyword in VS Code will cause this issue. Restart the extension to take it into effect immediately, or there's a delay on it.
Additional Notes
Maybe as described, this should not be enabled in Code.
Log File
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Lua.semantic.keyword setting in the VS Code extension and reproduce the formatting difference using the reported hexadecimal escape sequence case. Compare the expected and actual screenshots, then verify that enabling the setting preserves the intended string formatting.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua, vscode
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100