PY-2021.2 <debuggerx@debuggerx-PC Create baseRefactoring.xml, markdown.xml, ide.general.xml, ide-features-trainer.xml, DebuggerX.xml, project.default.xml, My Vim dark.icls, diff.xml, Default copy.xml, yiiguxing.translation.xml, Default.xml, ignore.xml, keymap.xml, find.xml, ui.lnf.xml, filetypes.xml, Python Script.py, code.style.schemes.xml, plugin_ui.xml, colors.scheme.xml, External Tools.xml, notifications.xml, abbreviations.xml, Default _3_.xml, databaseDrivers.xml, github.xml, laf.xml, Default.xml, Default for GNOME copy.xml, pyWelcome.xml, Default _2_.xml, jdk.table.xml, Eclipse copy.xml, lightEdit.xml, Default _1_.xml, web-browsers.xml, macros.xml, proxy.settings.xml, Python.xml, vcs.xml, editor.xml, usageView.xml, debugger.xml, updates.xml
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
<templateSet group="DebuggerX">
|
||||
<template name="swii" value="switch ($getid$) { case $viewid$: $options$ break; }" description="Auto-switch" toReformat="false" toShortenFQNames="true">
|
||||
<variable name="getid" expression="" defaultValue="" alwaysStopAt="true" />
|
||||
<variable name="viewid" expression="" defaultValue="" alwaysStopAt="true" />
|
||||
<variable name="options" expression="" defaultValue="" alwaysStopAt="true" />
|
||||
</template>
|
||||
<template name="mhan" value="Handler mHandler = new Handler(){ @Override public void handleMessage(Message msg) { super.handleMessage(msg); $options$ } };" description="MyHandler" toReformat="false" toShortenFQNames="true" useStaticImport="true">
|
||||
<variable name="options" expression="" defaultValue="" alwaysStopAt="true" />
|
||||
</template>
|
||||
</templateSet>
|
||||
@@ -0,0 +1,9 @@
|
||||
<templateSet group="Python">
|
||||
<template name="ai" value="assert isinstance($OBJ$,$CLASS$)" description="assert isinstance" toReformat="false" toShortenFQNames="true">
|
||||
<variable name="OBJ" expression="" defaultValue="" alwaysStopAt="true" />
|
||||
<variable name="CLASS" expression="" defaultValue="" alwaysStopAt="true" />
|
||||
<context>
|
||||
<option name="Python" value="true" />
|
||||
</context>
|
||||
</template>
|
||||
</templateSet>
|
||||
Reference in New Issue
Block a user