![]() This way you should already have a decent autocomplete in Geany. ![]() config / geany / plugins /" and open the keyboard shortcut preferences "Edit" »" Preferences "» "Combinations" and look for the entry " Python completion ”and give it the autocomplete key combination " space ", do not fear if it collides with the default autocomplete, overwrite the combination without fear, if the file in which the autocompletion is being executed is not from Python the editor's default completion action will be executed. Unzip the contained files here in the folder "~ /. Install Rope, a library for code refactoring and analysis: The other toy I made was this plugin that allows to have an autocompletion comparable to that of the Eclipse PyDev plugin, but with the speed and lightness of Geany. So every time I save a file in Python o CoffeeScript this is checked statically. config / geany / plugins / geanylua / events", if that directory structure does not exist: create it. To automatically execute these compilation commands every time a file is saved and forget about pressing F8, copy the file contained here in your personal folder "~ /. To achieve the same with CoffeeScript, static check and compilation, a file opens. So when you have a file open Python and is pressed F8 the static check is executed, indicating the errors in it. $ sudo aptitude install pyflakes coffeescript geany-plugin-luaĪ file of Python and we are going to "Build" »" Set build commands " is put in the first option, where it says "Compile" is written:Īnd in the regular expression to detect errors you put: To achieve this, it is installed pyflakes, the static checker for Python, coffeescript, the compiler of that language, and the plugin to extend geany en Moon. Last night after programming a little in Sunshine I started playing with the plugin to extend geany with Moon, then in 5 minutes I already had a plugin written that made me static check of the code in Python and CoffeeScript, pointing out unused errors and imports, which is very useful when you're working in a hurry to find silly errors that are hiding in plain sight. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |