File tree Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 7878
7979## 0.1.9
8080
81- Added environement variable support for LspStdio.
81+ * Added environement variable support for LspStdio.
82+
83+ ## 0.2.0
84+
85+ * Fix: LSP Suggestion conflicts with LSP hover.
Original file line number Diff line number Diff line change @@ -337,7 +337,10 @@ class _CodeCrafterState extends State<CodeCrafter> {
337337 final List <LspCompletion > suggestion = await widget.lspConfig!
338338 .getCompletions (line, character);
339339 _hoverDetails = await widget.lspConfig! .getHover (line, character);
340- if (suggestion.isNotEmpty && cursorOffset > 0 ) {
340+ if (isTyping &&
341+ suggestion.isNotEmpty &&
342+ cursorOffset > 0 &&
343+ prefix.isNotEmpty) {
341344 _suggestions = suggestion;
342345 _selected = 0 ;
343346 _sortSuggestions (prefix);
Original file line number Diff line number Diff line change 11name : flutter_code_crafter
22description : " Powerful code editor with AI code completion and LSP support"
3- version : 0.1.9
3+ version : 0.2.0
44homepage : https://github.com/heckmon/flutter_code_crafter
55
66environment :
You can’t perform that action at this time.
0 commit comments