Closed igotfr closed 1 year ago
Can you provide some more information?
Is there an error message? Did you set the path to the dart executable in the settings? I haven't gotten around to implement starting the LSP from PATH
, so you have to provide this to the plugin.
Can you provide some more information?
Is there an error message? Did you set the path to the dart executable in the settings? I haven't gotten around to implement starting the LSP from
PATH
, so you have to provide this to the plugin.
$ which dart
/home/notecomm/flutter/bin/dart
@zarathir Settings > Plugin Settings > Dart > Server Path. Path to dart executable > /home/notecomm/flutter/bin/dart
it just doesn't work. No error messages
Hmm, if there are no error messages the plugin should have started. Have you tried opening code completions in a dart file? Can you check if the dart lsp process is running?
@zarathir
Hmm, if there are no error messages the plugin should have started. Have you tried opening code completions in a dart file?
yes
Can you check if the dart lsp process is running?
how do i check this? I didn't see any visual indicators on the lapce
@zarathir it's working on project, but in this case a message Analyzing
flashes endlessly on lower left corner.
Too, the light bulb icon flashes when I click anywhere on text editor, but I can't click on the icon
when I open a single file, like $ lapce file.dart
, the plugin doesn't works
how do i check this? I didn't see any visual indicators on the lapce
There's no indicator to show if the lsp is running. You can run ps aux | grep -i dart
in a terminal to check if there is a running process.
@zarathir it's working on project, but in this case a message
Analyzing
flashes endlessly on lower left corner. Too, the light bulb icon flashes when I click anywhere on text editor, but I can't click on the iconwhen I open a single file, like
$ lapce file.dart
, the plugin doesn't works
Seems like the lsp starts, but the code actions are off. Are you able to trigger code completion with Ctrl + Space
.
The plugin currently only works with a dart workspace, so it won't start with single files.
@cindRoberta What Lapce version are you running? I just tried the plugin on nightly and it works as usual.
@cindRoberta What Lapce version are you running? I just tried the plugin on nightly and it works as usual.
0.2.6
@zarathir Ctrl + Space
is working. Ctrl + .
not
I've got Analyzing...
flashing up a lot aswell. This is from Lapce sending lsp requests to the plugin. There's probably not a lot you can do about this plugin wise. LSP is currently not fully implemented in Lapce, so plugin support is wonky and experimental.
@zarathir the light bulb icon and the Ctrl + .
not working, can't be fixed either?
This is something that has to be fixed in Lapce. The plugin only handles starting the lsp. All the requests are coming from Lapce.
how activate this pluggin? I have already it installed on lapce