Comments (5)
Not sure if I understood correctly but you can use this C++ example:
#include <iostream>
class Test{
public:
void test(){
std::cout<<"Test"<<std::endl;
}
};
int main(){
Test test;
test. // After pressing Ctrl+Space here completion event should be triggered but nothing happens
return 0;
}
from micro-plugin-lsp.
Hey @mrkubax10 , can you provide some code example to test the clangd / ccls ?
from micro-plugin-lsp.
It seems the correct filetype to go into the lsp.server configuration is not "cpp" but "c++". So the correct configuration string would look like this:
"lsp.server": "c++=clangd"
or for ccls:
"lsp.server": "c++=ccls"
However, the +
characters in the filetype are unexpected and lead to an issue parsing this directive. I will investigate this further.
from micro-plugin-lsp.
@mrkubax10 : I created a fix for the above issue in the attached PR. Can you check if this fixes the issue on your side?
from micro-plugin-lsp.
Yes, this fixes the issue
from micro-plugin-lsp.
Related Issues (20)
- Issue with warnings appearing to redraw micro HOT 3
- Trying to get Eclipse JDT-LS to work HOT 9
- Freezes on large Markdown file, starts unrelated language servers HOT 4
- Send settings to language servers HOT 4
- problem with Zig ls HOT 8
- How do I parse command arguments to the LSP with this plugin. HOT 3
- There is another lsp client written in lua
- Can't override lsp.server setting HOT 2
- Ctrol-Cpace does not work on Macos HOT 1
- The initialization options parsing can't recognize nested json, which some language servers accept in their settings. HOT 4
- When I save the settings they disappear HOT 1
- How To Ignore THIS ERRORS????????????? HOT 2
- `rust-analyser` appears to work fine HOT 1
- Doesn't initialize when opening file from filemanager HOT 3
- Keyboard shortcuts not working on Mac HOT 2
- How to set up julia language server HOT 8
- PHP support is working HOT 2
- format on save should be false by default HOT 2
- Auto completion is strange HOT 1
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 micro-plugin-lsp.