
CudaText version: 1.135.0.0
HTML Completion installed
Pls clarify-- it don't apper on calling 'auto-completion' (Ctrl+space) or it don't appear from simple typing <h ?
It seems to me - you installed 'Complete from text' plugin? then you configured 'Complete from text' to run in HTML lexer? pls don't config plugin so. it must not run in HTML lexer.
It seems to me - you installed 'Complete from text' plugin? then you configured 'Complete from text' to run in HTML lexer? pls don't config plugin so. it must not run in HTML lexer.
[complete_from_text]
lexers=-,ini files,markdown,restructuredtext,properties,html,php,python,bash script
min_len=2
case_sens=0
no_comments=0
no_strings=0
what_editors=1
max_lines=10000
use_acp=1
case_split=1
underscore_split=1
File: lexer HTML.json
{
"autocomplete_autoshow_chars": 1,
"nonword_chars": "_-+*=/\\()[]{}<>\"'.,:;~?!@#$%^&|`\u2026",
}
I was right, 'Complete from text' is active for HTML
lexers=-,ini files,markdown,restructuredtext,properties,html,php,python,bash script
pls remove html, in this config.
restart Cud.
it must be OK now?
Pls clarify-- it don't apper on calling 'auto-completion' (Ctrl+space) or it don't appear from simple typing
<h?
Both ways do not appear
I was right, 'Complete from text' is active for HTML
lexers=-,ini files,markdown,restructuredtext,properties,html,php,python,bash scriptpls remove
html,in this config.
restart Cud.
it must be OK now?
The tags appeared, but now the text doesn't appear
but now the text doesn't appear
what text do you expect? I see tags h1, h2, etc.
I like text and tags together, how to do?
They cannot be here together, only 'text' from plugin or tags from Cud.
:( Thanks
Is it possible to display listbox for html attributes without the Ctrl+Space hotkey? (like ST)
We have an option - find it by “auto show” (maybe without space) and write it to Html specific config.
This option is already configured, but it is not working.

Only display the listbox with the hotkey.
It only works for tags and not for attributes and values. This must be some bug.
yes, I confirm that option is not working for HTML props/values. will work on this.
it must not work for values (quoted strngs with autocomplete? how it must work and what to suggest?),
but must work for props.
fixed now, will be in the next update.
Yes, autocomplete for quoted values. This works with hotkey only.
I put beta here http://www.uvviewsoft.com/c/
Pls test?
Ok thanks
It worked, but missing:
What I tried when option is 2. Added A tag with attr “target”, typed
=“_b
And this shows the auto completion.
What is your case?

Same configuration and here does not show
Updated beta at the same URL
Seems fixed...

Thank you very much my friend! CudaText is very good!
Auto-completion of the quotes after the "=" in attr
it is possible?
Do you mean to auto insert " after = is typed? but we can have integer values.
Do you mean to auto insert " after = is typed? but we can have integer values.
Ok, but string values are more common.
Ok, todo for me: auto insert 2 quotes after value=, place caret in between.
Beta in the same dir, updated-
1.136.1 (2021/07)
Another question:
I know it can be a difficult implementation...
For example: When you type the attr class in a div, then in the next tag show the attr class first.
I dont think it's good. reason: user types first chars of attr, so he types "c" or "cl" and so "class" is one of first items.
Anyway, already is excellent :)
Sublime shows auto-completion without typing letters. For this reason I suggested it.
And in CudaText the user is required to type, so it doesn't make sense
They cannot be here together, only 'text' from plugin or tags from Cud.
But it may be that there is some way to make them work together. ;-)
Sublime shows auto-completion without typing letters. For this reason I suggested it.
So it is like CudaText option "autocomplete_autoshow_chars": 1 ?
1 char is calling listbox?
And in CudaText the user is required to type, so it doesn't make sense
You must type 1 char in Cud and in Sublime, no? if you type non-word chars in Sublime - listbox isnot shown?
(checked the Sublime: if I type non-word chars in HTML, listbox isn't shown.)

When typing space shows listbox (ST)
In Sublime there's this: 3456#issuecomment-873187433

used attr show first
we have the option 'autocomplete_trigger_chars', maybe try to add space there? only for HTML lexer.

The last tag used also shows first
we have the option 'autocomplete_trigger_chars', maybe try to add space there? only for HTML lexer.
Ok! I'll try
Elton,
I wrote the last wish to #3490, will write there when I'll do it.
I see that 'autocomplete_trigger_chars' does its job.
I see that 'autocomplete_trigger_chars' does its job.
It works in every document, but it should only work between "<>"
example: I install plugin 'Complete from text'.
I set 'html' for its lexers and options no_comments/no_strings.
and I use 'autocomplete_trigger_chars': " " (space).
then space must trigger listbox NOT only inside <> but also for outer html text, for 'complete from text'.
example: I install plugin 'Complete from text'.
I set 'html' for its lexers and options no_comments/no_strings.and I use 'autocomplete_trigger_chars': " " (space).
then space must trigger listbox NOT only inside <> but also for outer html text, for 'complete from text'.
I will test