kvichans / cuda_intext_complete Goto Github PK
View Code? Open in Web Editor NEWCudaText plugin. Allows to complete expression (word, calling, ...) by variants found in the whole text.
CudaText plugin. Allows to complete expression (word, calling, ...) by variants found in the whole text.
[x]Delete tail
позволит дополнять начало слова с кареткой:
ab|cd
может дополниться до ab|123
или ab|ABC
[ ]Delete tail
позволит дополнять целое слово с кареткой
ab|cd
может дополниться до ab|cd123
или ab|cdABC
Не важно сколько попыток дополнения вы сделали, вернуть текст в исходное состояние можно одной командой Undo.
new tab, none lexer. text-
df sfdfd ddddddddd dddere ddd
After "ddd"-caret. I call plugin, word-completions. No result.
expected result: list if "dddddddd", "dddere".
I found some lines and guess it is IntextComp
"itc_min_len": 2,
"itc_sngl": false,
"itc_near": true,
need ok reading prefix. "intextcomp_"
"ca|rect" дополняет до "can"-- Но виш такой- заменять по "can" все слово "caret"
Можно пример работы,чтобы записать на анг. в ридми?
Переработанная версия.
Предлагается пользоваться сразу двумя списками дополнений: словами и выражениями.
Слова содержат только буквы/цифры и немного других знаков (по умолчанию только _
).
Выражения могут содержать все спецзнаки или даже любые непробельные символы. Выражения могут оказаться с пробелами внутри, если включена опция "Expands to include both pair-characters", то есть расширять до парной скобки/кавычки.
Оба списка можно использовать перебором (команды Use next/prev...
) или отобразить целиком (команды Show list...
). Пока каретка или выделение не изменено, можно
Hi!
I've installed this plugin but it doesn't activate the word suggestion after write 3 chars, as it was expected.
Example:
complete
completed
completion
computer
computers
comp_
(The _
char is for represent the actual cursor position.)
Nothing happens.
But if you forces it from Plugins/In-text Completion/Show list of word-like forms, the word suggestion list appears and you can select the word to complete.
Tested on lexer "none" as well in other lexers, with the same behavior. The settings are the default ones.
Any idea how to fix it?
repo's desc missed.
To readme (2 pics, txt)
<?xml version="1.0" encoding="UTF-8"?>
<CONFIG>
<Package Version="4">
<PathDelim Value="\"/>
<Name Value="LazColorPalette"/>
<Type Value="RunAndDesignTime"/>
встаю после "Typ" перед "e",
word-list,
File "<string>", line 1, in <module>
File "/home/user/.cudatext/py/cuda_intext_complete/cd_int_cmpl.py", line 327, in show_list_wd
def show_list_wd(self): return self.show_list('word')
File "/home/user/.cudatext/py/cuda_intext_complete/cd_int_cmpl.py", line 335, in show_list
return self._subst('next')
TypeError: _subst() missing 1 required positional argument: 'wdex'
File
dddaa dddddbb dd22
dd|
after "dd" complete to "dddaa". Caret dont go to word end after "dddaa".
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.