Language server doesn't work on newly created non-.ino files #93
Labels
conclusion: resolved
Issue was resolved
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
Describe the bug
When a tab is created for a
.cpp
,.c
, or.h
file, no language server capabilities work in it. It only starts working after closing and reopening the sketch or changing the board selection.To Reproduce
foo.cpp
.foo.cpp
tab that should produce some reaction from the language server. For example, this code:Note that there is no language server capabilities in the file.
Note that the language server capabilities are now working as expected in
foo.cpp
.Expected behavior
Language Server capabilities work in all types of sketch code files from creation on.
Desktop
Date: 2021-12-13T10:09:39.122Z
CLI Version: 0.20.2 [13783819]
Additional context
The issue does not occur when using Arduino Language Server version 0.5.0-rc2
Logs:
LSnew.zip
The text was updated successfully, but these errors were encountered: