Documentation ¶
Index ¶
- Variables
- func FindAndSetProjectActivationTimestamp(ele *etree.Element, project *Project)
- func FindAndSetProjectOpenTimestamp(ele *etree.Element, project *Project)
- func GetAllXMLFiles(jetBrainsType IDEType, dirs []os.DirEntry) []string
- func GetElementAttr(attr []etree.Attr, name string) string
- func GetJetBrainsBasePath() string
- func GetVsCodeBasePath() string
- type IDEType
- type Project
- type WorkspaceInfo
Constants ¶
This section is empty.
Variables ¶
View Source
var (
XMLFiles = []string{"recentProjects.xml", "recentSolutions.xml"}
)
Functions ¶
func GetJetBrainsBasePath ¶
func GetJetBrainsBasePath() string
GetJetBrainsBasePath https://www.jetbrains.com/help/idea/directories-used-by-the-ide-to-store-settings-caches-plugins-and-logs.html#config-directory
func GetVsCodeBasePath ¶
func GetVsCodeBasePath() string
GetVsCodeBasePath https://code.visualstudio.com/docs/getstarted/settings#_settings-file-locations
Types ¶
type IDEType ¶
type IDEType string
const ( GoLand IDEType = "GoLand" IntelliJIdea IDEType = "IntelliJIdea" PyCharm IDEType = "PyCharm" CLion IDEType = "CLion" WebStorm IDEType = "WebStorm" PhpStorm IDEType = "PhpStorm" RustRover IDEType = "RustRover" RubyMine IDEType = "RubyMine" Rider IDEType = "Rider" DataGrip IDEType = "DataGrip" Aqua IDEType = "Aqua" Fleet IDEType = "Fleet" DataSpell IDEType = "DataSpell" AppCode IDEType = "AppCode" Writerside IDEType = "Writerside" VsCode IDEType = "VsCode" )
type Project ¶
type Project struct { Name string Dir string LastOpenTimestamp int64 LastActivationTimestamp int64 }
func GetProjectsFromXML ¶
func GetRecentProjects ¶
func GetVsCodeRecentProjects ¶
type WorkspaceInfo ¶
type WorkspaceInfo struct {
Folder string `json:"folder"`
}
Click to show internal directories.
Click to hide internal directories.