-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
add sublime_debug #7612
add sublime_debug #7612
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Automated testing result: ERROR
Repo link: sublime_debug
Results help
Packages added:
- sublime_debug
Processing package "sublime_debug"
- ERROR: No valid semver tags found at https://github.com/daveleroy/sublime_debug/tags for the package "sublime_debug".
I'm afraid you'll have to think of a different name because we don't allow new packages with "Sublime" in their name, or at the very least not at the beginning. Other than that, I highly recommend using relative imports within your plugins ( I see you are reading css files from the file system directly. If you switch that to use You're also using mixed whitespace in a couple files, but that's just a heads-up. For logging, you may also be interested in using the Other than that, I only took brief looks into various source files and this generally seems pretty good. Especially the usage of asyncio is probably the first I've reviewed so far. Edit: Can't seem to get the review bot endpoint to work atm. |
Ran the review locally. Only warnings, so nothing severe, but something you should look at regardless Report for sublime_debugRepository checksNo failures No warnings Package checksNo failures Reporting 4 warnings:
For more details on the report messages (for example how to resolve them), go to: |
Awesome thanks for the feedback. I'll try to make these changes this weekend. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Automated testing result: WARNING
Repo link: debugger
Results help
Packages added:
- debugger
Processing package "debugger"
- WARNING: '.no-sublime-package' is defined. Please verify that it is *really* necessary
Where is the bundled asyncio from? I didn't think that there was a 3.3 version. Can you use relative imports so you don't have to modify sys.path? |
@Thom1729 The asyncio is from https://github.com/python/asyncio/tree/master with some removed features to get it working on windows. I can use relative imports if really needed. sys.path is only modified if its not installed from package control (only if the package name is not "debugger") |
Switched over to relative imports |
It would be nice if you read your resources using You may also be interested in the sublime_lib dependency that has various utility classes and functions for plugins (disclaimer: I am part of the project). |
You should probably include the original asyncio license along with that module code, then. |
Thanks must have got lost along the way |
Sorry |
It should be safe to store this in
Could this be stored in preferences? If not, the Cache directory might work for this as well. Also, a minor point, but is there a reason that the package name is lowercase? Usually package names are capitalized and dependency names are lowercase, though I don't think it's a rule. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Automated testing result: WARNING
Repo link: debugger
Results help
Packages added:
- debugger
Processing package "debugger"
- WARNING: '.no-sublime-package' is defined. Please verify that it is *really* necessary
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Automated testing result: WARNING
Repo link: Debugger
Results help
Packages added:
- Debugger
Processing package "Debugger"
- WARNING: '.no-sublime-package' is defined. Please verify that it is *really* necessary
Not nicely. It's all the metadata for each breakpoint they have in their project. I don't think people want that polluting their preference/project files. |
No reason. Changed to capitalized |
You'll need this document as well, since Anyway, I believe we can merge this now. I'll create an issue for phasing out I'm excited to see how well it integrates into the "IDE ecosystem" alongside LSP and when people start to catch on to it. |
Adds a graphical debugger for sublime text using the debug adapter protocol