Skip to content

[feature] Easier way to switch spellchecker language #12223

Closed

Description

@GegznaV

For multilingual projects, there should be an easier way to change the spellchecker language. Now it takes at least 4 steps (see below). Ideally, there should be just one.

System details

RStudio Edition : Desktop [Open Source]
RStudio Version : 2022.12.0.286
OS Version      : Windows 10 x64 (build 19044)
R Version       : R version 4.2.1 (2022-06-23 ucrt)

Steps to reproduce the problem

  1. (Via the command palette or RStudio menu) Go to spelling options.
  2. Change language.
  3. Confirm changes and close dialog.
  4. Turn off and turn on RStudio or reload RStudio UI for changes to take effect.

Describe the behavior you expected

I expect either:

A) Open the command palette → Change the language in the command palette directly → Changes take effect immediately.
B) Open spelling options → Change the language and apply changes → Changes take effect immediately.
C) A new button in RStudio UI can be created for this purpose too.

Activity

  1. added
    new
    on Oct 25, 2022
  2. GegznaV commented on Oct 25, 2022

    @GegznaV
    Author

    There should be no bug label. I used the bug template, as it was more convenient.

  3. ronblum commented on Oct 25, 2022

    @ronblum
    Contributor

    @GegznaV Thank you for the suggestion! I'll change this to enhancement instead of bug.

  4. added and removed
    new
    on Oct 25, 2022
  5. latoyalittlejohn commented on Jan 26, 2023

    @latoyalittlejohn

    @ronblum confirming another user has run into this issue in ticket #84737 We were also able to reproduce this and include a video capture in the ticket

  6. BartJanvanRossum commented on Mar 31, 2023

    @BartJanvanRossum

    I'd like to add to this that I only found out about step 4, i.e. the need to restart RStudio for the change to take effect, because I found this issue. Some mention of this in the spelling options menu would be nice

  7. github-actions commented on Mar 16, 2024

    @github-actions

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs, per https://github.com/rstudio/rstudio/wiki/Issue-Grooming. Thank you for your contributions.

  8. added
    stale
    on Mar 16, 2024
  9. GegznaV commented on Mar 16, 2024

    @GegznaV
    Author

    What's the progress?

  10. removed
    stale
    on Mar 17, 2024
  11. ronblum commented on Mar 20, 2024

    @ronblum
    Contributor

    @GegznaV I'll re-raise this for consideration. I can't promise it'll get done, but at least I can promise that we'll review it!

    Also, early on you mentioned that filing as a bug was more convenient even though this is an enhancement request? We almost never hear about the experience of filing an issue, and I'd really like to know about it, so I'm very curious about what it's like from your end!

  12. olivroy commented on Mar 20, 2024

    @olivroy
    Contributor

    that is grea @ronblum. I don't know how the spell checker is implemented, but I think that respecting the lang option in yaml in Rmd/Qmd docs would be a very good start and to me would solve 95% of this

    ---
    title: en français
    lang: fr
    format: html
    ---
    
    Un mot en français
    
    

    would be great!

  13. ronblum commented on Mar 20, 2024

    @ronblum
    Contributor
  14. netique commented on Apr 8, 2024

    @netique
    Contributor

    @ronblum I would be willing to try that for real, but only if I am provided with the documentation for the current implementation.

  15. added this to the Later milestone on Apr 22, 2024
  16. ronblum commented on Apr 22, 2024

    @ronblum
    Contributor

    Note: Ideally, automatically restart.

  17. modified the milestones: Later, Product Backlog on Apr 22, 2024
  18. self-assigned this
    on Sep 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions