Comments (9)
Hello @veksha , can you see it please?
from cudatext.
Moved to #5513 by Alexey
from cudatext.
Moved to #5513 by Alexey
from cudatext.
My function is_fuzzy_match
is here:
https://github.com/CudaText-addons/cuda_complete_from_text/blob/master/__init__.py
I tried to reuse it for LSP. here:
language.py
def filter(self, item, word):
s1 = item['label'] if item.get('filterText') is None else item.get('filterText')
s2 = word
pos_bracket = s1.find('(')
s1 = s1 if pos_bracket == -1 else s1[:pos_bracket]
print('filter for:', s1, s2)
return is_fuzzy_match(s1, s2)
don't work!
def filter
is not called at all if I call completion after word 'TE' and have id 'TIME_BEGIN' in code.
from cudatext.
So the fuzzy is requiring the server support and/or some LSP client option must be changed. this is for @veksha , please.
from cudatext.
I dont see in web-search how to allow fuzzy in LSP servers settings for other editors. maybe only few servers have setting. so we cannot solve it in common way, yes, @veksha ?
from cudatext.
Why was this closed? Don't you agree this is a good feature to have?
from cudatext.
Reopened. but I guess it is impossible to add, see my prev comment.
from cudatext.
I understand you don't know how to fix, but I see no reason for it to be impossible. I use the same LSP server in all the examples I gave (typescript-language-server
), surely it's doable for someone.
from cudatext.
Related Issues (20)
- Bad parsing of JavaScript comment HOT 18
- `Indent selection` shouldn't add spaces/tab to empty lines HOT 3
- After dbclicking a word, holding and expanding to the left, Shift+arrow runs at wrong direction HOT 6
- Autocomplete shouldn't eat next word when there's no space HOT 15
- lexer 'Todo.txt' cannot be uninstalled from AddonsManager (shown as 'Todo' in uninstall menu)
- Cuda restores old tab scroll position on drop HOT 3
- cuda_complete_from_text and option_min_len HOT 1
- "New file" button is missing with 1.215.5.0 HOT 4
- Autocomplete inserts suggestion before caret left content instead of replacing it HOT 11
- activating of ui-tab in single instance bug (on Windows)
- Clarify download location in docs HOT 1
- [img] reopen HOT 1
- CudaText pollutes $HOME/.config with CudaTextrc files HOT 5
- Cannot assign find_hotkey_replace_dlg to "Ctrl+H" HOT 4
- "Open URL" in context menu shouldn't require selection HOT 4
- Cuda shouldn't scroll tab bar on tab mousedown HOT 8
- Tabs-bar: improvement for drag-drop of tabs HOT 8
- Cuda fails to highlight brackets in JSON file HOT 1
- CSS: Cuda is using different colors for `!important`, but it should be always the same HOT 4
- last update + hotspot plugin… HOT 4
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 cudatext.