Opened 2 years ago
Last modified 6 weeks ago
#30500 new enhancement
Meta-ticket: document configuring IDEs and text editors — at Version 10
Reported by: | slelievre | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | sage-wishlist |
Component: | documentation | Keywords: | |
Cc: | gh-tobiasdiez, tkarn, chapoton | Merged in: | |
Authors: | Reviewers: | ||
Report Upstream: | N/A | Work issues: | |
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description (last modified by )
Document configuring each common IDE or text editor for using and/or developing Sage.
- CodeMirror
- Emacs + sage-shell-mode
- JupyterLab text editor
- PyCharm
- Spyder
- Sublime Text
- vi / vim
- VSCode / vscodium - #30484
and maybe others such as
- Alpha, Alphatk
- ATOM + Hydrogen
- Blender
- Eclipse
- IDLE
- Leo
- PyDev
- PyScripter
- Wing
- Xcode
What to document:
- setting up syntax highlighting for .py, .pyx, .spyx, .sage files
- telling the editor or IDE to use Sage's Python
- making Sage execute fragments of code
Maybe one ticket per IDE or text editor?
Existing material:
- some wiki pages
- some answers to questions, or discussions, on Ask Sage, sage-devel, sage-support, Stack Overflow
- Ask Sage question 39742: Make PyCharm recognise the Sage Python interpreter
- Stack Overflow question 47378147: Use PyCharm (or any Windows IDE) to run SageMath scripts
- sage-devel discussion, 2017-12: Running Sage from an IDE like PyCharm on Windows
- Ask Sage question 38750: How to use Sage in PyCharm in Ubuntu
Related:
- #30501: Syntax highlighting mode for Sage syntax, aware of the syntactic sugar Sage adds to Python syntax
- #30453 - Document
sage -tox
Change History (10)
comment:1 follow-up: ↓ 6 Changed 2 years ago by
comment:2 Changed 2 years ago by
- Description modified (diff)
comment:3 Changed 2 years ago by
- Description modified (diff)
- Milestone changed from sage-9.3 to sage-wishlist
comment:4 Changed 2 years ago by
- Description modified (diff)
comment:5 Changed 2 years ago by
Maybe the part about vim could mention :set backupcopy=yes
(see #21739) to avoid issues with the attach command (well, it's in my vimrc since 2015, but I don't know if it is still needed).
comment:6 in reply to: ↑ 1 Changed 2 years ago by
Replying to slelievre:
Maybe this is better done on the wiki, and the wiki should have a summary page pointing to a page for each IDE or text editor.
-1 for wiki - it's unmaintainable
+1 for extending the developer documentation
comment:7 Changed 2 years ago by
- Description modified (diff)
comment:8 Changed 2 years ago by
- Cc gh-tobiasdiez added
- Description modified (diff)
comment:10 Changed 5 months ago by
- Cc tkarn added
- Description modified (diff)
Maybe this is better done on the wiki, and the wiki should have a summary page pointing to a page for each IDE or text editor.