Skip to content

Option to disable phantoms #182

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

Closed
riazanovskiy opened this issue May 4, 2017 · 1 comment
Closed

Option to disable phantoms #182

riazanovskiy opened this issue May 4, 2017 · 1 comment
Milestone

Comments

@riazanovskiy
Copy link

Is there an option to disable phantoms and only outline the errors?

I can add PR with such setting or maybe the plugin should honor global show_errors_inline setting.

ehuss added a commit to ehuss/sublime-rust that referenced this issue May 6, 2017
@ehuss
Copy link

ehuss commented May 6, 2017

Seems like a good idea. I pushed a change to my work-in-progress project that adds some settings to control how messages render.

@jasonwilliams jasonwilliams added this to the v2.0.0 milestone May 7, 2017
@ehuss ehuss mentioned this issue May 15, 2017
24 tasks
urschrei pushed a commit to urschrei/sublime-rust that referenced this issue Jan 30, 2018
* New Cargo build system.

* Fix wrapping of commands in GitHub flavored markdown.

* Minor fixes to unittests for Rust 1.16.

* Add support for "cargo check".

* Support clippy for on-save checking.

* Fix on-save syntax check running clippy multiple times.

* Add ability to configure cargo build features.

* Support setting environment variables.

This includes a dependency on shellenv to capture the user's environment from their login shell.

* Normalize paths when dealing with settings.

This fixes some problems running tests on Windows.

* Disable on-load message display for tests.

This was causing random breakage (particularly on Windows).

* Fix race condition in tests manifested on linux.

* Add support for custom build variants.

This includes some significant changes to how the current
package is selected.  It should work a little better if you
have multiple packages.

* Add support for a default path/package.

* Add "Automatic" build variant.

* Stop looking for JSON output during Cargo build once compile is finished.

This fixes issues with "cargo run" if your program outputs { at the start of a line.

* Better fix for checking when we should stop looking for JSON output.

The previous fix caused issues with Clippy.

* Remove debug print left behind.

* Minor updates for rust 1.17.

* Change message tests to check the region of the message.

* Fix error highlighting for nested macros.

* Fix clearing of error regions.

* Add rust_phantom_style and rust_region_style config settings.

Fixes rust-lang#182.

* Honor show_errors_inline config setting for Cargo build.

* Fix links in messages that are surrounded by angled brackets.

* Consolidate all Cargo config commands into a single command.

Add commands to configure extra arguments and environment variables.

* Document the new build configure command.

Also document the `default_path` option.

* On-save syntax checking now uses configuration settings from the build
system.

* Finish documenting all settings, and include link to new build docs.

* Fix Cargo environment variable config command when selecting "all build
commands".

* Only print warning about sublime-project when saving setings.

* Fix target detection for cdylib.

Adapted from rust-lang#186, thanks @smbolton.

* Update tests for new messages in rust 1.18.
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

No branches or pull requests

3 participants