跳到主要內容

發表文章

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 ,避免跳出選單需要二次點擊。
最近的文章

MCC LIN TX 一些隱藏的小問題

  這2個函數有可能在多個地方被重複呼叫,主要是在中斷時用到 .mcc_generated_files/LINDrivers/lin_master.c:230:: advisory: (1510) non-reentrant function "_LIN_getChecksum" appears in multiple call graphs and has been duplicated by the compiler mcc_generated_files/LINDrivers/lin_master.c:270:: advisory: (1510) non-reentrant function "_LIN_stopTimer" appears in multiple call graphs and has been duplicated by the compiler 解法:其中一個不呼叫直接放內容或呼叫改名例如LIN_stopTimer_init() 避免重覆設定 開始計時也要將計數器歸零(同接收問題)LIN_timerCallBack=0 這2個函數有可能在多個地方被重複呼叫(但不會同時使用,暫時先不修正) C:\Program Files\Microchip\xc8\v3.10\pic\sources\c99\common\memcpy.c:4:: advisory: (1510) non-reentrant function "_memcpy" appears in multiple call graphs and has been duplicated by the compiler C:\Program Files\Microchip\xc8\v3.10\pic\sources\c99\common\memset.c:3:: advisory: (1510) non-reentrant function "_memset" appears in multiple call graphs and has been duplicated by the compiler               要傳送的資料要放進SW_STATE_Date[]

C# 縮寫

   Label  lbl  TextBox  txt  Button  btn  LinkButton  lnkbtn  ImageButton  imgbtn  ListBox  lst  DropDownList  ddl  DataGrid  dg  DataList  dl  CheckBox  chk  CheckBoxList  chklst  RadioButton  rdo  RadioButtonList  rdolst  Image  img  Panel  pnl  Calender  cal  AdRotator  ar  Table tbl  RequiredFieldValidator  rfv  CompareValidator  cv  RangeValidator  rv  RangeExpressionValidator  rev  ValidatorSummary  vs  CrystalReportViewer  rptvew  ComboBox  cbo  DataGridView  dgv  DataGridView 的 Column  col  GroupBox  grp  ImageList  il  ListView  lv  ListView 的 ColumnHeader  ch  MenuStrip  ms  ToolStripMenuItem  tsmi  PictureBox  pic  StatusStrip  ss ...

在 Windows 電腦上,將安裝好的軟體建立捷徑到桌面

 法一:找到程式集,把想用的程式左鍵按住不放拉到桌面. 法二: WIN鍵+R 輸入 shell:AppsFolder

VBA extra 功能