Comments (5)
Some really great ideas here.
(1.a) Execute cells immediately after editing in external editor
This would be a useful addition. I've added it in a8be410.
(1.b) Use
.py
suffix for tempfiles when editing in external editor
This is very straight forward to implement - I've added it in ad24358.
It would be nice to generalize this further, so if using irkernel we use a .r
suffix, if using julia we use a .jl
suffix, etc.
(2) Function signatures in completion suggestions
I'm not sure if it is possible to access these through a jupyter kernel, I'll have to do some reading. It will be possible to add in the completion type column (e.g. function, class, module, etc.), as jupyter returns those along with completions (although this appear to still be experimental).
(3) Autosuggestion / completion while typing
Would you expect autosuggestions to come from elsewhere in the notebook, from ipython history, or to autosuggest completions?
Completion while typing is might by tricky, as there is often a slight wait for completions from jupyter, so we'd need to be careful to ensure that this does not add input latency.
(4) Variable viewer
Maybe one day 😉
from euporie.
I've added the ability to automatically show contextual help when typing, which contains function signatures:
This can be enabled from the settings menu (or manually summoned with Shift+Tab).
I'm going to mark this issue as closed now, as I have now implemented all of your suggestions (except for the variable viewer, which I've added to my roadmap).
🙂
from euporie.
Wow thanks a lot, super cool and excited to give this a try!
(2) Function signatures in completion suggestions
I'm not sure if it is possible to access these through a jupyter kernel, I'll have to do some reading. It will be possible to add in the completion type column (e.g. function, class, module, etc.), as jupyter returns those along with completions (although this appear to still be experimental).
So one way would be to get idea 2 just by providing LSP integration, which is obviously a pretty huge feature https://github.com/krassowski/jupyterlab-lsp. Or to use jedi like ptpython does?
(3) Autosuggestion / completion while typing
Would you expect autosuggestions to come from elsewhere in the notebook, from ipython history, or to autosuggest completions?
From all past history of jupyter notebooks, identical to the ipython/shell behavior.
Completion while typing is might by tricky, as there is often a slight wait for completions from jupyter, so we'd need to be careful to ensure that this does not add input latency.
(4) Variable viewer
Maybe one day 😉
🤞
from euporie.
Quick update on this
I've implemented autocompletion while typing and and autosuggestions from history (these are configurable, and can be switched on and off from the settings menu).
These will both be available in the next release
from euporie.
Amazing, really enjoying it!
from euporie.
Related Issues (20)
- Euporie Notebook freezes when typing `df[` HOT 5
- installing missing binaries HOT 2
- Improve the speed HOT 1
- Versioning HOT 3
- Menu access in kitty HOT 8
- Sync state of notebook when changed from outside of euporie HOT 3
- Help in integrating with editors (newlines are handled weirdly) HOT 3
- Wrap text around HOT 2
- Feature request: Plotly support HOT 5
- Update dependencies for JupyterLab 4 HOT 4
- No Kernels Found Error HOT 5
- some newbie questions HOT 5
- Some unrecognized characters HOT 4
- Scrolling past top in vim normal mode replaces text HOT 2
- Hover widget displays filenames twice HOT 1
- Installation issues HOT 3
- Non-default color schemes obscure terminal graphics (e.g., Matplotlib plots) in Notebook HOT 3
- Doesn't start HOT 9
- Running `^[` in the console prints a `KeyError` HOT 1
- Error in console HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from euporie.