Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor to optimize for ST3/4 (drops ST2) #344

Merged
merged 15 commits into from
Jan 6, 2024
Merged

Commits on Aug 11, 2023

  1. Refactor package/plugin structure

    This commit moves all python modules to sub directories and keeps an loader
    plugin in root, only. It contains only public commands necessary for ST.
    
    ST explicitly loads all python modules from root as plugins and looks for
    EventListeners and Commands within them. This takes time and is therefore
    not useful for unittests and other library-only modules such as ctags.py.
    
    It may even cause harm, as importing ctags into ctagsplugin may cause
    duplicated modules/globals being present.
    
    Note: By using relative imports, this commit breaks compatibility with ST2.
    deathaxe committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    3b09b37 View commit details
    Browse the repository at this point in the history
  2. Refactor Settings Menu/Command Palette entries

    This commit makes use of ST3's `edit_settings` command.
    deathaxe committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    7f95db3 View commit details
    Browse the repository at this point in the history
  3. Update README

    deathaxe committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    35e60b7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    721c057 View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2023

  1. Configuration menu
    Copy the full SHA
    a2e7418 View commit details
    Browse the repository at this point in the history
  2. Revert "Clear remaining unused variable"

    This reverts commit 721c057.
    deathaxe committed Aug 12, 2023
    Configuration menu
    Copy the full SHA
    62feb75 View commit details
    Browse the repository at this point in the history
  3. Optimize imports

    If a module imports elements directly from another one, it shouldn't also import
    the whole module.
    deathaxe committed Aug 12, 2023
    Configuration menu
    Copy the full SHA
    61d7384 View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2023

  1. Add trailing newline

    deathaxe committed Aug 13, 2023
    Configuration menu
    Copy the full SHA
    9d56278 View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2023

  1. Configuration menu
    Copy the full SHA
    3dc34a9 View commit details
    Browse the repository at this point in the history
  2. Adjust tested modules path

    deathaxe committed Aug 18, 2023
    Configuration menu
    Copy the full SHA
    5aa2ea6 View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2024

  1. Configuration menu
    Copy the full SHA
    1615b07 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    22906b1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    31f83dc View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    64c7b31 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    09f7b53 View commit details
    Browse the repository at this point in the history