editors for python in python - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: General (https://python-forum.io/forum-1.html) +--- Forum: News and Discussions (https://python-forum.io/forum-31.html) +--- Thread: editors for python in python (/thread-6162.html) Pages:
1
2
|
editors for python in python - Skaperen - Nov-08-2017 i am looking for an editor for coding python, implemented in python, and can work in a full screen text-only (not GUI) environment like i have (terminal). it should be smart about python code. it's a big plus if it can handle .rst and plain text. it's also a plus if it is smart about some other languages. if it has a scripting method of it's own is also a plus. even better if that scripting is done in python. RE: editors for python in python - wavic - Nov-08-2017 Ninja IDE is written in Python. It's not a ncursed/terminal like application but full GUI one ( Qt ). I have used it for a while. But again is a not cli application. RE: editors for python in python - metulburr - Nov-09-2017 sublime text has python/C++. Handling plugins is python and the settings is JSON format. RE: editors for python in python - snippsat - Nov-09-2017 VS code has done a lot of stuff right. It's in the category as multi language editors like Sublime and Atom. With one plugin get a lot of stuff for Python(has 4 269 279 installs), there no plugin for Sublime or Atom that has all this features in 1 plugin. My quick review. There setting format is all JSON,but they have a new take on it which is good. If new to change all the default setting will stay intact, it comes up a edit button which will make a new JSON file with the overwrite setting. RE: editors for python in python - Larz60+ - Nov-09-2017 Here's a wiki list of editors: https://wiki.python.org/moin/PythonEditors but don't see any that fit your bill. There's: https://unix.stackexchange.com/questions/85140/simple-console-text-editor-suited-to-python which is console based, but not sure which language it is written in. You could write your own. RE: editors for python in python - Skaperen - Nov-10-2017 i don't want to write my own. parsing python code (in the edit buffer) would be hard for me. right now i use emacs and the python understanding seems to be buggy. that suggests to me that it is a hard problem. here is why i do not want an X windows editor: i may suddenly need to edit a file on a remote host. most likely i have not set up the connect up for X windows. most like the remote host has no X libraries (so X programs can't even run). the terminal session may be a session in the screen command. the terminal session may be a session in the script command to log its output. i run the non-X version of emacs. RE: editors for python in python - wavic - Nov-10-2017 You could use vim instead. A long time ago I read this and after that, I found this one. Called spf13. I have tried the second but had no time to learn all features it offers. That was on some Ubuntu installation. Now I am using Arch Linux perhaps I will try it again. Neovim? You can write plugins in Python for this if you want to. RE: editors for python in python - Skaperen - Nov-12-2017 why vi-like editors? well, ok, if it is written 100% in python. but i still want it to smartly deal with python code ... at least as well as emacs does. an emacs-like command set would be a plus (personal thing). RE: editors for python in python - wavic - Nov-12-2017 You could write an editor for Python in Python. With prompt_toolkit this should be not a difficult task. You get syntax highlighting right away. Just have to implement the indentation and some syntax parser to show the syntax errors. It's enough for starters. RE: editors for python in python - metulburr - Nov-12-2017 Quote:i may suddenly need to edit a file on a remote host. most likely i have not set up the connect up for X windows. most like the remote host has no X libraries (so X programs can't even run).Thats exactly why i started using Vim. And then i started liking Vim. And then i started disliking bloated IDE's. Then i use Tmux to split the terminal into as many as i need, usually for execution. Then i prefer to have my .vimrc file for making coding python easier, but i dont really need it. And make sure to set it to paste mode before pasting in code. |