Skip to content

Commit 99ac042

Browse files
[BLOG] Add spyder-terminal (#534)
* [BLOG] Add spyder-terminal * Update feature image * change feature image --------- Co-authored-by: gabalafou <[email protected]>
1 parent 2273e28 commit 99ac042

File tree

6 files changed

+46
-0
lines changed

6 files changed

+46
-0
lines changed
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
title: 'Creating the ultimate terminal experience in Spyder 4 with Spyder-Terminal'
3+
published: February 14, 2020
4+
author: stephannie-jimenez
5+
description: 'The Spyder-Terminal project is revitalized! The new 0.3.0 version adds numerous features that improves the user experience, and enhances compatibility with the latest Spyder 4 release, in part thanks to the improvements made in the xterm.js project.'
6+
category: [IDEs]
7+
featuredImage:
8+
src: /posts/spyder-terminal/cursor-style.png
9+
alt: 'UNIX shell options for starting the terminal'
10+
hero:
11+
imageSrc: /posts/spyder-terminal/blog_hero_var2.svg
12+
imageAlt: 'An illustration of a dark brown hand holding up a microphone, with some graphical elements highlighting the top of the microphone.'
13+
---
14+
15+
The [Spyder-Terminal project](https://github.com/spyder-ide/Spyder-Terminal) is revitalized! The new 0.3.0 version adds numerous features that improves the user experience, and enhances compatibility with the latest Spyder 4 release, in part thanks to the improvements made in the [xterm.js](https://xtermjs.org/) project.
16+
17+
## Upgrade to ES6/JSX syntax
18+
19+
First, we were able to update all the old JavaScript files to use ES6/JSX syntax and the tests for the client terminal. This change simplified the code base and maintenance and allows us to easily extend the project to new functionalities that the xterm.js API offers. In order to compile this code and run it inside Spyder, we migrated our deployment to Webpack.
20+
21+
## Multiple shells per operating system
22+
23+
In the new release, you now have the ability to configure which shell to use in the terminal. On Linux and UNIX systems, `bash`, `sh`, `ksh`, `zsh`, `csh`, `pwsh`, `tcsh`, `screen`, `tmux`, `dash` and `rbash` are supported, while `cmd` and `powershell` are the available options on Windows. To select your preferred command processor, simply choose it from the menu in the `Terminal` pane of Spyder's preferences and restart the IDE.
24+
25+
![UNIX shell options for starting the terminal](/posts/spyder-terminal/shells.png)
26+
27+
This is a great feature because it allows the user to determine their shell interpreter among the ones that are installed in their systems. In this way, Spyder-Terminal can be configured with any of the existing shells as long as it is available on their machine.
28+
29+
## Theme support and new UI options
30+
31+
Another big change in the new version is built-in support for all Spyder's light and dark themes. When you change your Spyder theme or display options, the Terminal automatically adapt its UI, colors and fonts accordingly.
32+
33+
![Spyder-Terminal new themes](/posts/spyder-terminal/terminal-colors.gif)
34+
35+
Building on the look and feel of the plugin, we also added configurable options for the terminal sounds and the cursor style. In this way, you can choose whether the terminal uses a bell sound and can select from one of three cursors.
36+
37+
![Cursor options for Spyder-Terminal](/posts/spyder-terminal/cursor-style.png)
38+
39+
## Shortcut configuration
40+
41+
Lastly, the shortcuts on the terminal are configurable within the keyboard shortcuts in Spyder 4. The terminal's shortcuts for `Copy`, `Paste`, `Clean` and `New terminal` are now no longer hardcoded.
42+
43+
![Configurable shortcuts for the Terminal inside Spyder 4](/posts/spyder-terminal/shortcuts.png)
44+
45+
We're excited for you to try out Spyder-Terminal 0.3.0 and experiment with the new features available; we'd like to thank [NumFOCUS](https://numfocus.org/) and Quansight for providing the funding and support that made all this work possible. Check back soon for more Spyder updates, and until then, happy coding!

β€Žapps/labs/public/posts/spyder-terminal/blog_hero_var2.svgβ€Ž

Lines changed: 1 addition & 0 deletions
Loading
30.1 KB
Loading
163 KB
Loading
236 KB
Loading
414 KB
Loading

0 commit comments

Comments
Β (0)