Skip to content

Post on "tidyverse team's tips and tricks for using Positron" #753

@DavisVaughan

Description

@DavisVaughan
  • "window.nativeTabs" now that we have Open new windows in native tabs if option is set posit-dev/positron#9159

    • Personally also use "window.openFoldersInNewWindow": "on"
  • File: Open Recent... with Cmd + Click option to open in new window

  • "window.newWindowDimensions": "inherit" if you dont use native tabs

  • "window.title": "${activeEditorShort}${separator}${rootName}${separator}${profileName}${separator}${activeRepositoryBranchName}"

    • Weirdly useful for knowing where I am
  • Air related settings, using Air: Initialize Workspace Folder

  • Language specific "editor.rulers"

  • "files.insertFinalNewline": true and "files.trimFinalNewlines": true

  • "search.quickOpen.includeSymbols": true to reproduce RStudio's Find file/function feature, this is 🔥. Makes Cmd + P include function names alongside file names.

  • "debug.closeReadonlyTabsOnEnd": true to close debug tabs when debugger ends (does it work with virtual docs?)

  • Customised look

    • "workbench.activityBar.location": "top"
    • "workbench.tree.renderIndentGuides": "none"
    • "terminal.integrated.lineHeight": 1.3
    • "workbench.tree.indent": 14
  • Git related

    • "git.closeDiffOnOperation": true to auto close diff editors when you commit the file
    • "diffEditor.ignoreTrimWhitespace": false i think this should be on by default

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions