halfbrained / cuda_lsp

LSP Client plugin for CudaText
6 stars 4 forks source link

maybe 'delay' these imports too? #45

Closed Alexey-T closed 3 years ago

Alexey-T commented 3 years ago
import sys
_plugin_dir = os.path.dirname(os.path.realpath(__file__))
sys.path.append(os.path.join(_plugin_dir, 'lsp_modules'))

import cuda_project_man

from .book import DocBook

maybe move them into 'work' function?

ProjMan-- must have! it's slow

halfbrained commented 3 years ago

moved cuda_project_man, Docbook; and removed json

Same 3-4ms startup time :) project man loads even when project is not opened and its panel is closed... but maybe it will improve the first start somewhat

halfbrained commented 3 years ago

Now we should make a plugin that will pack all tiny files in one single file, and redirect all file access to that pack so app will start in 10 ms :)

Alexey-T commented 3 years ago

ignore my deleted comment - startup time is OK now