Skip to content

vangoghynot/vscode-uefi-extension-pack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UEFI Firmware Extension Pack

This extension pack packages some useful extensions for UEFI Firmware engineer.

Feel Free to share your useful extensions.

Thank You !!!

Table of Content

My Visual Studio Code Keyboard Shortcuts

My VSCode Keyboard Shorcuts - Windows

UEFI Firmware Resources

List of UEFI Firmware Resources



Installation Guide

Provide some setup guidance before using the extensions. Visit the extension in market place to get more details of each extension, include setup guidance and function details.

Gitlab Setup

Create Personal Access Token

First, follow below guidance to create one personal access token(PAT) with the scopes "api" and "read user" https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html

Note: Remember to backup your token after you create it. You won't be able to access the token after revisit the web page.

VSCode Extension Setup

Once the PAT is created properly, in VSCode,

-launch the command palette (Press F1)
-Execute command "GitLab: Add Account to VS Code"
-Input Gitlab server URL (For example: https://gitlab.com) -Input PAT

Git Client Setup

The Git client should be properly configured for the VSCode source control functionality.

For Windows User

-Visit "Windows Credentials" in Windows "Credential Manager"

Click to see how to access the credential Manager

-Click "Add a windows credential"

assume the target gitlab server address is https://your-gitlab.com

Fill-in below information:

Internet address: git:https://oauth2@your-gitlab.com
User name: oauth2
Password: [Your PAT]

Project Manager Setup

It's recommended to add the folder path for "Project Manager" extension to enumerate the available projects for switching between projects easily.

For Git projects, VSCode setting "projectManager.git.baseFolders" specify the folders to search available projects.

-Launch the command palette (Press F1)
-Execute command "Preferences: Open Settings (UI)"
-Type "git:base" to locate the key "Project Manager>Git: Base Folders".
-Click "Add Item" to add the folder to be scanned.



Keyboard Shortcuts

Press Ctrl+K Ctrl+S to launch the Keyboard Shortcuts table to customize below hotkeys,

Command Hotkey Command ID Comment
markdown.extension.editing.toggleBold Remove the extension default hotkey to keep Ctrl+B for toggle sidebar visibility
Tasks: Run Task Ctrl+K Shift+R workbench.action.tasks.runTask Choose and run one task
Tasks: Run Test Task Ctrl+K Shift+T workbench.action.tasks.test Run default test task
Tasks: Terminate Task Ctrl+K Shift+K workbench.action.tasks.terminate Terminate one or all task(s).

User Guide

1. Project Manager

The usage of "Project Manager" extension is available: https://marketplace.visualstudio.com/items?itemName=alefragnani.project-manager

  • Save Project Workspace with Tag
  • Switch Project via Tag
  • Set Project Root Folders (All Projects under this folder will be listed in treeview.)

2. Markdown File Preview

Show preview in right window:

  • Open one markdown file in editor
  • Press Hotkey Ctrl+K V

Use Palette command Markdown: Open Preview to the side can achieve the same.

Show preview in tab:
-Open one markdown file in editor
-Press Hotkey Ctrl+Shift V

Use Palette command Markdown: Open Preview can achieve the same.

3. Git-bash (For Windows)

"Git for Windows" provides Git-bash for Git commands operation in linux terminal type of bash.

Steps to launch Git-bash and set defaule folder in workspace root folder.

  • Press F1 to launch command palette
  • Select "bash in workspace"