mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Add examples of local imports in code style settings for blank lines
This commit is contained in:
@@ -193,9 +193,11 @@ public class PyLanguageCodeStyleSettingsProvider extends LanguageCodeStyleSettin
|
||||
@SuppressWarnings("FieldCanBeLocal")
|
||||
private static String BLANK_LINES_SETTINGS_PREVIEW = "import os\n" +
|
||||
"class C(object):\n" +
|
||||
" import sys\n" +
|
||||
" x = 1\n" +
|
||||
" def foo(self):\n" +
|
||||
" pass";
|
||||
" import platform\n" +
|
||||
" print(platform.processor())";
|
||||
@SuppressWarnings("FieldCanBeLocal")
|
||||
private static String WRAP_SETTINGS_PREVIEW = "from module import foo, bar, baz, quux\n" +
|
||||
"\n" +
|
||||
|
||||
Reference in New Issue
Block a user