cairo icon indicating copy to clipboard operation
cairo copied to clipboard

feat: Prevent Language Server from importing traits included to prelude

Open enitrat opened this issue 2 years ago • 0 comments

Feature Request

Describe the Feature Request

Using the Language Server with its autocomplete features will automatically add the required imports. However, it is no longer relevant for all std methods post release 2.2.0, as some of them are now included in the prelude.

image

Pressing "enter" here would autocomplete with into() and add the core::traits::Into import. This import is no longer required.

Describe Preferred Solution

Describe Alternatives

Related Code

Additional Context

If the feature request is approved, would you be willing to submit a PR? (Help can be provided if you need assistance submitting a PR)

  • [ ] Yes
  • [ ] No

enitrat avatar Sep 11 '23 08:09 enitrat