mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PY-16415: Give user ability to use native runner for certain commands
* Settings moved to registry, extension method added
This commit is contained in:
@@ -479,6 +479,11 @@ introduce.variable.prefer.statements=false
|
||||
introduce.variable.prefer.statements.description=If true, select line at caret if there is no selection on introduce; \
|
||||
when false expressions chooser would be shown
|
||||
|
||||
# Comma separated list of commands to skip from manage.py
|
||||
python.django.commandsToSkip=
|
||||
# Comma separated list of commands to use native runner instead of PyCharm specific
|
||||
python.django.commandsToUseNativeRunner=
|
||||
|
||||
show.method.base.class.in.java.file.structure=true
|
||||
|
||||
vcs.log.empty.change.list.creation=false
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
/*
|
||||
* Copyright 2000-2016 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.jetbrains.extenstions
|
||||
|
||||
import com.intellij.openapi.util.registry.RegistryValue
|
||||
|
||||
|
||||
/**
|
||||
* @return list of values in case they are comma separated
|
||||
*/
|
||||
fun RegistryValue.asList() = this.asString().split(",")
|
||||
@@ -0,0 +1,22 @@
|
||||
/*
|
||||
* Copyright 2000-2016 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Extension methods for various classes.
|
||||
* Methods are transparent for Kotlin, while in Java you must use following pattern: class MyClass has extensions in MyClassExtKt.
|
||||
* @author Ilya.Kazakevich
|
||||
*/
|
||||
package com.jetbrains.extenstions;
|
||||
Reference in New Issue
Block a user