You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{
"prefix": "", // added at the begging of the query
"suffix": "", // added at the end of the query
"docs": { // obj containing the docs for each scope
// these are merged with the default ones
// the key value pair represent scope -> doc url
// supported placeholders:
// - %(query)s the selected text/word
// - %(scope)s the current scope
"css": "http://devdocs.io/#q=%(scope)s+%(query)s",
// AUTOIT
"autoit": {
"command": ["C:/Program Files (x86)/AutoIt3/AutoIt3Help.exe", "%(query)s"], // path to your help exe!
"failTest": "Nothing",
"changeMatch": "",
"changeWith": "",
"url": ""
},
// we can also have an object to
// run a command for finding docs
// inside the command you can use the same placeholders
"python": {
// the command to be executed
"command": ["python", "-m", "pydoc", "%(query)s"],
// a regex to determine if this was an invalid response from the console
"failTest": ".*no Python documentation found for.*",
// regex to select something from the valid response
"changeMatch": "(Related help topics)",
// regex to replace the matched result
"changeWith": "-------\n\\1",
// fallback url: if failTest returns true this will be used
"url": "http://docs.python.org/3/search.html?q=%(query)s"
}
},
// if we have no docs for the current scope
// we will try using the fallback one,
// to disable set to false
"fallback_scope": "google"
}
Using the AutoIt3Help.exe is the best way. So you get help for all type of words (functions, keywords, macros a.s.o). Exactly the same behaviour like known from SciTE.
The text was updated successfully, but these errors were encountered:
Its not the best way to use Goto-documentation like written in instructions https://github.com/AutoIt/SublimeAutoItScript/blob/master/goto-documentation_instructions.md, point 3.
Better way:
Make all changes only in file: "goto_documentation.sublime-settings".
This should look like following (adapt path to AutoIt3Help.exe if required).
Using the AutoIt3Help.exe is the best way. So you get help for all type of words (functions, keywords, macros a.s.o). Exactly the same behaviour like known from SciTE.
The text was updated successfully, but these errors were encountered: