dinkumoil / cuda_file_type_profile Goto Github PK
View Code? Open in Web Editor NEWCreate profiles for files with certain filename extensions and apply the settings automatically when opening a file.
License: MIT License
Create profiles for files with certain filename extensions and apply the settings automatically when opening a file.
License: MIT License
keyFileExt = 'fileExt'
keyFileExtList = 'fileExts'
keyEncoding = 'encoding'
keyEolFormat = 'eolFormat'
will look better with _
keyFileExt = 'file_ext'
keyFileExtList = 'file_exts'
keyEncoding = 'encoding'
keyEolFormat = 'eol_format'
@dinkumoil
Can I ask you to update de_DE translation, please? It is outdated.
It is here:
https://sourceforge.net/projects/cudatext/files/addons/translations/
Python uses style with _ separator, so suggestion (optional)- maybe change such names?
def do_PreCloseFile(self, editor):
global fnConfig
global reloadSettings
def ApplyProfileSettings(self, editor, caller):
@dinkumoil Andreas, i was thinking about making NEW project system in Cud, ie cloning (making copy) of VisualStudioCode project panel. maybe not all features. in Pascal code, not as plugin. it is big work so i cannot find time yet... if you are interested, in making it, let me know.
VSCode Explorer panel = combined TabsList + folder panel (one above the other, and one is autosized, other has the rest height).
ini_write(fnConfig, 'BatchScript', keyFileExt + str(1), '.bat')
ini_write(fnConfig, 'BatchScript', keyFileExt + str(2), '.cmd')
ini_write(fnConfig, 'BatchScript', keyFileExt + str(3), '.nt')
why not to write
file_ext=.bat;.cmd;.nt
it's easy for user to change such line.
fnConfig = os.path.join(app_path(APP_DIR_SETTINGS), 'cuda_filetypeprofile.ini')
repo name is different- so a) rename ini-name and subdir= name
or
b) rename Github repo to be like subdir=
@dinkumoil
The plugin is useful but it is not finished.
I see in Console the text
(cuda_file_type_profile) Method on_open applied settings on file: D:\Bagira\base\TER\rkr-uf\steps-v19.2ad.ops
(cuda_file_type_profile) Method on_open applied settings on file: D:\Bagira\base\TER\rkr-uf\steps-1904.ops
(cuda_file_type_profile) Method on_open applied settings on file: D:\Bagira\base\TER\rkr-uf\_DOSTEPS.LOG
(cuda_file_type_profile) Method on_open applied settings on file: D:\Bagira\base\TER\rkr-uf\steps.ops
(cuda_file_type_profile) Method on_close unregistered file: D:\Bagira\base\TER\rkr-uf\steps.ops
(cuda_file_type_profile) Method on_close unregistered file: D:\Bagira\base\TER\rkr-uf\_DOSTEPS.LOG
(cuda_file_type_profile) Method on_close unregistered file: D:\Bagira\base\TER\rkr-uf\steps-v19.2ad.ops
(cuda_file_type_profile) Method on_open applied settings on file: C:\Programs\CudaText\py\cuda_find_in_files4\fif.log
(cuda_file_type_profile) Method on_open applied settings on file: C:\Programs\CudaText\py\cuda_find_in_files4\tests\test_fif.log
It is only for debug on developing not for me.
@dinkumoil I appreciate your work on plugin. Don't you want to make LSP plugin? LSP is Microsoft's protocol to support autocompletions for all syntaxes - using web server which handles syntax.
https://langserver.org/
I would donate some $ for this work.
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.