Вы можете использовать редактор Vim, включив в эту строку в ~/.vimrc файл.
:h ins-completion
Теперь вы можете использовать приведенную ниже комбинацию клавиш для функции автоматического завершения для ваших пользовательских функций.
Завершение может быть сделано:
- Whole линий | i_CTRL-X_CTRL-L |
- ключевые слова в текущем файле | i_CTRL-X_CTRL-N |
- ключевые слова в словаре «i_CTRL-X_CTRL-K |
- ключевые слова в тезаурусе, тезаурус | i_CTRL-X_CTRL-T |
- ключевые слова в текущих и включенных файлах | i_CTRL-X_CTRL-I |
- теги | i_CTRL-X_CTRL-] |
- имена файлов | i_CTRL-X_CTRL-F |
- определения или макросы | i_CTRL-X_CTRL-D |
- Vim command-line | i_CTRL-X_CTRL-V |
, если вы хотите, чтобы узнать основы ВИМ использовать эту ссылку: Vim Basics
Вы можете использовать этот файл .vimrc для развития Python:
set title
autocmd FileType python set expandtab ts=4 sw=4
"autocmd FileType python set sw=4
"autocmd FileType python set sts=4
"autocmd FileType python set ts=4
" enable syntax highlighting
"autocmd FileType python syntax enable
" show line numbers
" set numbe
" set tabs to have 4 spaces
" autocmd FileType python set ts=4
" indent when moving to the next line while writing code
"set autoindent
" expand tabs into spaces
"autocmd FileType python set expandtab
" when using the >> or << commands, shift lines by 4 spaces
"autocmd FileType python set shiftwidth=4
" show a visual line under the cursor's current line
" set cursorline
" show the matching part of the pair for [] {} and()
set showmatch
" enable all Python syntax highlighting features
autocmd FileType python let python_highlight_all = 1
" to change the default colour of the string to white.
highlight String guifg=1 guibg=11
:h ins-completion
Вы пробовали [Spyder] (https://en.wikipedia.org/wiki/Spyder_ (программное обеспечение))? – berna1111