facebookarchive / atom-ide-ui

A collection of user interfaces for Atom IDE.
http://ide.atom.io
Other
934 stars 79 forks source link

Debugger: Don't show breakpoints when there is no debugger available #218

Closed Arcanemagus closed 6 years ago

Arcanemagus commented 6 years ago

Before Submitting

Description

If you have any file open, the ability to set breakpoints is active, even if there is no debugger available for that file's language.

Expected Behavior

No breakpoints can be set when there is no available debugger.

Actual Behavior

Breakpoints can be set no matter what.

Versions

Additional Details

Installed packages ``` Dev Packages (5) C:\Users\abneyl\.atom\dev\packages ├── linter-csslint@2.0.0 ├── linter-eslint@8.4.1 ├── linter-flake8@2.3.0 ├── minimap@4.29.7 └── town-crier@0.3.0 Community Packages (87) C:\Users\abneyl\.atom\packages ├── atom-beautify@0.32.2 ├── atom-ide-debugger-node@0.7.1 ├── atom-ide-debugger-python@0.7.1 ├── atom-ide-ui@0.11.0 ├── atom-material-ui@2.1.3 ├── autoclose-html@0.23.0 ├── autocomplete-lua@0.9.1 ├── busy-signal@1.4.3 (disabled) ├── docblockr@0.13.7 ├── editorconfig@2.2.2 ├── file-watcher@1.2.6 ├── highlight-selected@0.13.1 ├── ide-flowtype@0.22.1 ├── ide-php@0.7.14 ├── ide-powershell@0.1.0 ├── ide-python@0.9.2 ├── ide-typescript@0.7.6 ├── intentions@1.1.5 (disabled) ├── language-ansible@0.2.2 ├── language-batch@0.4.0 ├── language-chef@0.11.0 ├── language-cjson@0.0.1 ├── language-docker@1.1.8 ├── language-elixir@0.22.0 ├── language-erlang@3.2.0 ├── language-fortran@2.1.6 ├── language-gettext@0.6.1 ├── language-glsl@2.0.4 ├── language-haml@0.31.0 ├── language-haskell@1.17.6 ├── language-icinga2@0.4.1 ├── language-ini@1.19.0 ├── language-jolie@0.5.0 ├── language-kotlin@0.5.0 ├── language-livescript@0.0.3 ├── language-lua@0.9.11 ├── language-moonscript@1.7.1 ├── language-postcss@1.3.1 ├── language-powershell@4.0.0 ├── language-pug@0.0.22 ├── language-puppet@0.23.0 ├── language-reg@0.0.0 ├── language-rust@0.4.12 ├── language-swift@0.5.0 ├── language-terraform@0.8.1 ├── language-vue@0.23.1 ├── linter@2.2.0 (disabled) ├── linter-coffeelint@2.0.0 ├── linter-eslint@8.4.1 ├── linter-flake8@2.3.0 ├── linter-htmlhint@1.4.0 ├── linter-js-standard@5.0.0 ├── linter-js-yaml@1.3.0 ├── linter-jsonlint@1.3.0 ├── linter-markdown@5.2.0 ├── linter-perl@0.8.2 ├── linter-perlcritic@2.1.0 ├── linter-php@1.5.1 ├── linter-phpcs@1.6.8 ├── linter-phpmd@2.0.0 ├── linter-proselint@3.3.0 ├── linter-pylama@0.9.5 ├── linter-pylint@2.1.1 ├── linter-rails-best-practices@0.2.2 ├── linter-reek@2.2.2 ├── linter-rubocop@2.2.3 ├── linter-ruby@1.2.6 ├── linter-stylelint@4.2.0 ├── linter-tidy@2.3.1 ├── linter-ui-default@1.7.1 (disabled) ├── linter-ui-plus@0.3.2 (disabled) ├── mapfile-grammar@0.1.0 ├── minimap@4.29.8 ├── minimap-git-diff@4.3.1 ├── minimap-highlight-selected@4.6.1 ├── minimap-linter@2.1.3 ├── minimap-selection@4.5.0 ├── sequential-number@0.5.0 ├── sort-lines@0.18.0 ├── sync-settings@0.8.6 ├── tab-control@0.6.10 ├── teletype@0.13.0 ├── terminal-tab ├── terminal-tab-service@0.1.4 ├── toggle-quotes@1.1.0 ├── town-crier@0.3.0 └── trailing-spaces@0.4.0 ```
ebluestein commented 6 years ago

Currently debuggers plugging into atom-ide don't specify file extensions for which they support debugging, so there is no way to filter this. But this is a good suggestion, we'll keep this in mind for a future release.