cppreference: C++ language overview
Argument dependent lookup (unqualified function/operator usage automatically finds it inside namespace/class, because of the arguments, also check out the ["Notes"][adl-notes] section)
| # Todo create cmdlet | |
| # TODOs | |
| # Does not properly recognize variable expansions, because GetEnvironmentVariables already does that... probably with the current process' environment variables | |
| # | |
| function GetCurrentUserPathVariableRaw() { | |
| if ($env:USERDOMAIN.Length -eq 0) { | |
| throw "Does not yet support no domains" | |
| } |
cppreference: C++ language overview
Argument dependent lookup (unqualified function/operator usage automatically finds it inside namespace/class, because of the arguments, also check out the ["Notes"][adl-notes] section)
The dependencyResolver of [StandardIdeScriptDefinition][depResolverTarget] checks whether the "RootType" is IdeConsoleRootType, in that case it adds the IDEs + Kotlin's JARs (detected via URLClassLoader, mainly) to the classpath.
Some helper functions to easily test and reload IntelliJ services/extension points by registering handlers in a global object by name.
Also contains minimal amount of boilerplate to get the global IDE object, the project and makes println work.
| Stop-Process -ProcessName LCore | |
| Start-Process "C:\Program Files\Logitech Gaming Software\LCore.exe" |
| ; Press Ctrl-Win-Enter to show Everything (also works on NumPad) | |
| ; Create file in run `install_startmenu_startup_shortcut.bat` to register the file for the currently running user as a startup item. | |
| ; ^ Ctrl | |
| ; # Windows key | |
| ^#Enter::Run "C:\Program Files\Everything\Everything.exe" -togglewindow | |
| ; Hmm, when working on notebook attached to full size keyboard | |
| ; Ctrl-Win-Numpad works just fine with only the above key. | |
| ; Why do I also need this then for the Desktop computer? What gives? | |
| ^#NumpadEnter::Run "C:\Program Files\Everything\Everything.exe" -togglewindow |
| /* | |
| * Available context bindings: | |
| * COLUMNS List<DataColumn> | |
| * ROWS Iterable<DataRow> | |
| * OUT { append() } | |
| * FORMATTER { format(row, col); formatValue(Object, col) } | |
| * TRANSPOSED Boolean | |
| * plus ALL_COLUMNS, TABLE, DIALECT | |
| * | |
| * where: |
| import com.intellij.ide.ui.customization.ActionUrl | |
| import com.intellij.ide.ui.customization.CustomActionsSchema | |
| import com.intellij.ide.ui.customization.CustomisedActionGroup | |
| import com.intellij.ide.ui.customization.CustomizableActionGroupProvider | |
| import com.intellij.ide.ui.customization.CustomizableActionGroupProvider.CustomizableActionGroupRegistrar | |
| import com.intellij.openapi.actionSystem.* | |
| import com.intellij.openapi.extensions.Extensions | |
| import static liveplugin.PluginUtil.* |
| test |