Skip to content

Commit

Permalink
Add VS Code settings for Linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
reitermarkus committed May 16, 2024
1 parent 3ccae8d commit 3e9a37e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/tasks/vscode.rake
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,15 @@ task :vscode => [:'brew:casks_and_formulae', :rust] do
'*.x' => 'linkerscript',
},
'files.insertFinalNewline' => true,
'security.workspace.trust.untrustedFiles' => 'open',
}

if linux?
settings['window.enableMenuBarMnemonics'] = false
settings['window.titleBarStyle'] = 'custom'
settings['window.customMenuBarAltFocus'] = false
end

# Combine wanted with existing settings.
settings = JSON.parse(settings_path.read).merge(settings) if settings_path.exist?

Expand Down

0 comments on commit 3e9a37e

Please sign in to comment.