跳到主要內容

VScode CTRL+click跳轉問題

 這通常是 VS Code 的設定衝突或 滑鼠游標焦點問題造成的。請依照下列步驟排查,通常第一個方法就能解決:

1. 關閉「多重游標修飾鍵」設定
如果設定衝突,VS Code 會等待你的第二次點擊。
  • 按下 Ctrl + , 開啟設定。
  • 在搜尋欄輸入:multiCursorModifier
  • 將設定從 ctrlCmd 改回 alt。
2. 檢查連點設定 (Selection)
  • 在設定中搜尋:editor.multiCursorModifier
  • 確保它沒有被勾選或設為與 Ctrl 衝突的組合。
3. 停用衝突的擴充功能 (Extensions)
某些提供代碼跳轉、Git 歷史或 Vim 鍵盤映射的套件會攔截點擊事件。
  • 按下 Ctrl + Shift + X 開啟擴充功能。
  • 嘗試停用最近安裝或與「滑鼠/導覽」相關的套件(例如 Vim, GitLens, Sublime Keybindings)。
  • 重新啟動 VS Code 測試。
4. 重設游標跟隨定義
  • 在設定中搜尋:editor.gotoLocation.multiple
  • 將其設定改為 peek 或 goto,避免跳出選單需要二次點擊。

留言

這個網誌中的熱門文章

AD9 SCH尋找相同net

 ALT+滑鼠左鍵點net 不容易找到相同的net 加上這個設定 會有紅線 很容易找到相同的net 取消選取  在空白處點一下滑鼠左鍵   再 Shift+C

VScode-json-debug&compiler

  {     // Use IntelliSense to learn about possible attributes.     // Hover to view descriptions of existing attributes.     // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387     "version" : "0.2.0" ,     "configurations" : [         {             // Note: Properties here can override MPLAB project settings             "name" : "Debug" ,             "type" : "mplab-core-da" ,             "request" : "launch" ,             "project" : "My_Project" ,             "configuration" : "default" ,             "stopOnEntry" : true ,         },         {             "name" : "Program" ,         ...

MPLAB X IDE 不能在.h檔裡宣告變數,否則debug mode時會出問題,找不函數.

  MPLAB X IDE 不能在.h檔裡宣告變數,否則debug mode時會出問題,找不函數. 但編輯和燒錄時功能都正常.