Skip to content

Download and manage gdtoolkit when it is not found#7

Open
duruyao wants to merge 1 commit into
ryan-haskell:mainfrom
duruyao:duruyao-fix_issue_2
Open

Download and manage gdtoolkit when it is not found#7
duruyao wants to merge 1 commit into
ryan-haskell:mainfrom
duruyao:duruyao-fix_issue_2

Conversation

@duruyao

@duruyao duruyao commented Aug 5, 2024

Copy link
Copy Markdown

fix #2

  • Prioritize the pre-installed gdtoolkit.
  • Download gdtoolkit to the subdirectory of the current plugin via pip3 when it is not found globally.

The directory structure of gdtoolkit is as follows.

addons
└── format_on_save
    ├── LICENSE
    ├── format_on_save.gd
    ├── plugin.cfg
    └── python
        └── bin
            ├── gd2py
            ├── gdformat
            ├── gdlint
            ├── gdparse
            └── gdradon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Plugin doesn't see gdformat installed in /opt/homebrew/bin (formerly "My GDScript file does not get formatted on save")

1 participant