Skip to content

Add recommendation patterns recommend to linting and formatting extensions #21458

Closed
microsoft/vscode
#185697

Description

Testing:

  1. Add pyproject.toml to a workspace with following content:
[tool.ruff]
  1. Reload.
  2. you should see Ruff extension in the recommended extensions.

image

Activity

  1. added
    feature-request
    on Jun 20, 2023
  2. added
    triage-needed
    on Jun 20, 2023
  3. karthiknadig commented on Jun 20, 2023

    @karthiknadig
    MemberAuthor
  4. charliermarsh commented on Jun 20, 2023

    @charliermarsh

    Woahhh, so cool! Thanks Karthik Nadig (@karthiknadig)!

  5. added
    verification-needed
    needs PR
    and removed
    triage-needed
    on Jun 26, 2023
  6. added
    verified
    on Jun 27, 2023
  7. rebornix commented on Jun 27, 2023

    @rebornix
    image

    I'm not seeing Ruff being recommended.

  8. added
    verification-found
    and removed
    verified
    on Jun 27, 2023
  9. karthiknadig commented on Jun 27, 2023

    @karthiknadig
    MemberAuthor

    Peng Lyu (@rebornix) did you reload after making the change to the file?

  10. karthiknadig commented on Jun 27, 2023

    @karthiknadig
    MemberAuthor

    Seems to work after reload.
    image

    The recommendations are searched for on load, so if you make a change to a file later they are not detected. May be a feature.
    /cc Sandeep Somavarapu (@sandy081)

  11. rebornix commented on Jun 28, 2023

    @rebornix

    Karthik Nadig (@karthiknadig) yes I reloaded multiple times, but it never show up.

  12. karthiknadig commented on Jun 28, 2023

    @karthiknadig
    MemberAuthor

    This seems to be a bug on VS Code, as the patterns seem to work for me on Windows and linux, on following insiders:
    Version: 1.80.0-insider (user setup)
    Commit: da7f05a
    Date: 2023-06-27T15:13:35.848Z
    Electron: 22.3.14
    ElectronBuildId: 21893604
    Chromium: 108.0.5359.215
    Node.js: 16.17.1
    V8: 10.8.168.25-electron.0
    OS: Windows_NT x64 10.0.19045

  13. karthiknadig commented on Jun 28, 2023

    @karthiknadig
    MemberAuthor

    Peng Lyu (@rebornix) Can you confirm that the file is located in the workspace root?

  14. sandy081 commented on Jun 28, 2023

    @sandy081
    Member

    This recommendations view is a mix of all kinds of recommendations and therefore it filters out some non important ones and show only a subset. Hence I would recommend to check the following view

    image
  15. rebornix commented on Jun 28, 2023

    @rebornix

    Karthik Nadig (@karthiknadig) ah ha, good catch, I have it in a sub folder. I guess this is as expected.

  16. added
    verified
    and removed
    verification-found
    on Jun 28, 2023
  17. locked as resolved and limited conversation to collaborators on Jul 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature-requestverification-neededverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions