Giter VIP home page Giter VIP logo

cuda_file_type_profile's People

Contributors

dinkumoil avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

cudatext-addons

cuda_file_type_profile's Issues

ini key names

keyFileExt = 'fileExt'
keyFileExtList = 'fileExts'
keyEncoding = 'encoding'
keyEolFormat = 'eolFormat'

will look better with _

keyFileExt = 'file_ext'
keyFileExtList = 'file_exts'
keyEncoding = 'encoding'
keyEolFormat = 'eol_format'

camelCaseNames

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):

CudaText projects

@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).

maybe make single key for filetypes?

        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.

smth broken with CP866 and .nt files

  • i made new.nt file with text просто , saved file as cp866.
    other app shows file OK in cp866.

  • my config
    [BatchScript]
    FileExts=.cmd;.bat;.nt
    Encoding=cp866
    EolFormat=

  • i open file in Cud and text is broken
    Screenshot from 2019-06-07 00-09-23

statusbar shows "cp866" thoug
Linux Ubuntu 18

folder in "py" must correspond to repo name

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=

[request] Suppress "prints"

@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.

Talks

@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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.