Closed pintassilgo closed 2 months ago
Did you get the last update from yesterday, 1.212.1.4? can you reproduce errors on clean Cud?
But 'SystemError: unknown opcode' means that CPU code is bad, strange... do you have x64 build?
Did you get the last update from yesterday, 1.212.1.4?
No, Git releases page says latest version is 1.212.1.3, which is what I'm using. I'll try 1.212.1.4.
Looks like the new version fixed it.
But it's still weird the package wasn't listed here:
I know the plugin was installed because after I dismissed this popup a new one showed up suggesting to see readme and history.
It is normal - empty window with listbox. Nothing to put in the listbox.
Shouldn't it display the package formatter: HTML_Beautify 2020.08.10
was installed?
There's no purpose on displaying an empty listbox.
Yes, I improved it now, it will show line(s) for formatters:
OK, I think we can close this one.
You may also complain that for LINTERS this listbox is empty. for formatters install.inf has
[info]
title=Formatter for C/C++/C#/ObjC/Java, using AStyle
desc=Formats code for lexers: C, C++, C#, Objective-C, Java; using AStyle library
type=cudatext-plugin
subdir=cuda_fmt_astyle
homepage=https://github.com/CudaText-addons/cuda_fmt_astyle
[fmt1]
caption=AStyle (C)
method=do_format
lexers=C
config=cuda_astyle_format.cfg
[fmt2]
caption=AStyle (C++)
method=do_format
lexers=C++
but for linters - inf file has only
[info]
title=Linter for AutoIt, using 'Au3Check.exe -q'
desc=Linter for CudaLint, adds support for AutoIt lexer, using 'Au3Check.exe -q'
type=cudatext-plugin
subdir=cuda_lint_autoit
homepage=https://github.com/TomBraider42/cuda_lint_autoit
so it is hard to get info about linter from INF file.
https://github.com/Alexey-T/CudaText/releases must be updated to show actual latest version: 1.212.1.4, not 1.212.1.3.
so it is hard to get info about linter from INF file.
If it's too hard to fix that, maybe you should retrieve from the same way Cuda gets plugin name in Install dialog.
The limitation in this method is it's restricted to indexed plugins.
https://github.com/Alexey-T/CudaText/releases must be updated to show actual latest version: 1.212.1.4, not 1.212.1.3.
Done
so it is hard to get info about linter from INF file.
If it's too hard to fix that, maybe you should retrieve from the same way Cuda gets plugin name in Install dialog.
I can of course show the line
Linter for AutoIt, using 'Au3Check.exe -q'
from INF file
[info]
title=Linter for AutoIt, using 'Au3Check.exe -q'
desc=Linter for CudaLint, adds support for AutoIt lexer, using 'Au3Check.exe -q'
type=cudatext-plugin
subdir=cuda_lint_autoit
homepage=https://github.com/TomBraider42/cuda_lint_autoit
but it is not good: it is duplication of info from previous shown dialog (prompt to install Zip).
For LINTERS we really don't have much info from INF file: no additional sections. linter is like a usual plugin w/o sections [items1].
I have CudaFormatter since I started using Cuda, but with just
JavaScript_JSON
formatter. Now I needed one for HTML. so I tried installingHTML_Beautify
, but installing fails: