1. 程式人生 > >sublime 3編輯器外掛(重點:改變選中樣式顏色、函式追蹤)

sublime 3編輯器外掛(重點:改變選中樣式顏色、函式追蹤)

a file icon

側邊欄不同檔案增加圖示
這裡寫圖片描述

tortoisesvn

svn操作
這裡寫圖片描述

Modific

檔案更改提示(git svn),更改圖示配置,使提示的圖示大一些
這裡寫圖片描述

{
    "region_icon": "circle",
}

sftp

sftp連線
這裡寫圖片描述

自動生成或手動建立sftp-config.json,完成配置
這裡寫圖片描述

SideBarEnhancements

側邊欄增強

sublimelinter sublimelinter-php

svn語法提示

packageresourceviewer

package配置檢視更改
比如修改選中顏色,先看用的什麼主題,perferences->color scheme…
這裡寫圖片描述

這裡寫圖片描述

這裡寫圖片描述

這裡寫圖片描述

部分配置如下:

//定義顏色變數
    "variables":
    {
        "black": "hsl(0, 0%, 0%)",
        "blue": "hsl(210, 50%, 60%)",
        "blue2": "hsl(209, 13%, 35%)",
        "blue3": "hsl(210, 15%, 24%)",
        "blue4": "hsl(210, 13%, 45%)",
        "blue5": "hsl(180, 36%, 54%)",
        "blue6": "hsl(221, 12%, 69%)"
, "green": "hsl(114, 31%, 68%)", "grey": "hsl(0, 0%, 20%)", "orange": "hsl(32, 93%, 66%)", "orange2": "hsl(32, 85%, 55%)", "orange3": "hsl(40, 94%, 68%)", "pink": "hsl(300, 30%, 68%)", "red": "hsl(357, 79%, 65%)", "red2": "hsl(13, 93%, 66%)", "white"
: "hsl(0, 0%, 100%)", "white2": "hsl(0, 0%, 97%)", "white3": "hsl(219, 28%, 88%)" }, //全域性設定 "globals": { "foreground": "var(white3)", "background": "var(blue3)", "caret": "var(orange)", "line_highlight": "var(grey)",//游標所在行背景色 "selection": "var(blue2)",//選中顏色 "selection_border": "var(orange3)",//選中邊框顏色 "inactive_selection": "var(blue2)", "misspelling": "var(red)", "shadow": "color(var(black) alpha(0.25))", "active_guide": "var(blue5)", "stack_guide": "color(var(blue5) alpha(0.5))", "highlight": "var(red)",//選中邊框顏色,sublime有雙擊自動find的選項 "find_highlight_foreground": "var(grey)", "find_highlight": "var(orange3)",//查詢選中高亮顏色 "brackets_options": "underline", "brackets_foreground": "var(orange)", "bracket_contents_options": "underline", "bracket_contents_foreground": "var(blue5)", "tags_options": "stippled_underline", "tags_foreground": "var(pink)" },

函式追蹤

這裡寫圖片描述
預設用goto下面的快捷鍵,下面配置單擊+ctrl追蹤,右擊+ctrl退回之前檔案
preferences–>browser packages開啟配置資料夾,User–>Default (Windows).sublime-mousemap
或者
這裡寫圖片描述

這裡寫圖片描述

這裡寫圖片描述

[
    {
        "button": "button1",
        "count": 1,
        "press_command": "drag_select",
        "modifiers": ["ctrl"],
        "command": "goto_definition"
    },
    {
        "button": "button2",
        "count": 1,
        "modifiers": ["ctrl"],
        "command": "jump_back"
    }
]

參考

重度視覺強迫症患者請進 sublime 顏色更改
https://blog.csdn.net/zhangmoyan9527/article/details/81057857
https://forum.sublimetext.com/t/change-colors-for-selected-text-and-currently-highlighted-line/33507/2
https://wesbos.com/sublime-text-5-visual-tweaks/