Bring your karma
Join the waitlist today
HUMBLECAT.ORG

Blind and Visually Impaired Community

Full History - 2021 - 04 - 17 - ID#msof08
6
Accessible Rust Editor for MacOS? (self.Blind)
submitted by Fridux
So I finally found some time to learn Rust, and my first project will be porting my Push Notifications Daemon, which is currently written in C, to it.

I'm a Mac user, and so far have been using Xcode for all my coding needs, because I'm quite familiar with its navigation and because it offers basic support for all the languages that I've needed up until now. However since it doesn't support Rust at all I'm looking for a new editor, and thought about Visual Studio Code. The problem is that, despite seeming accessible, I can't find my way around it, as I'm finding something as fundamental as locating the text editor where I can input code to be quite challenging. I also thought about vim, which was my primary editor before going blind, but couldn't find an accessible version anywhere that doesn't run in the terminal.

Can anyone recommend an accessible Rust editor for Mac? I searched AppleVis through Google but couldn't find anything related to Rust, and only found one post related to Visual Studio Code that doesn't offer any guidance.

Thanks in advance!

---

After much searching, I ended up going with TextMate 2, which so far seems fully accessible and does have Rust support.
MostlyBlindGamer 2 points 2y ago
VS Code is very flexible with extensions and different settings. Have you looked into the workbench specific settings?

As far as Vim, there's an extension for using Vim key bindings in VS Code. I guess that's not what you wanted to hear...

Otherwise, I've heard good things about $1. It's paid, but there's a free trial. It doesn't natively support Rust, but it also supports extensions, like VS Code.

At the end of the day, if I have to pay for the thing that lets me get my work done, so be it.
Fridux [OP] 2 points 2y ago
> VS Code is very flexible with extensions and different settings. Have you looked into the workbench specific settings?

No, the settings pane does not seem to allow changing the active element using the screen-reader. I even tried simulating mouse clicks but the mouse keeps clicking the same element so I cannot navigate to Workbench.

Anyway my problem is that I cannot find the text editor inside Visual Studio Code at all. I'd be very happy if I could just input some text to begin with, but can't even do that!

The reason why I want editor support is just so that I can output code with some resemblance of formatting, as well as quickly jump from function to function.

> As far as Vim, there's an extension for using Vim key bindings in VS Code. I guess that's not what you wanted to hear...

That's not what I'm looking for. I mentioned vim because it supports Rust, so it would serve as an alternative, if it was accessible.

> Otherwise, I've heard good things about Panic's Nova editor. It's paid, but there's a free trial. It doesn't natively support Rust, but it also supports extensions, like VS Code.

Ideally I was looking for something supported by the Rust developers themselves, which is the case of Visual Studio Code, vim, and EMACS, the latter of which has Emac Speak which, according to what I've heard, is very accessible, though I'm not feeling like learning another exotic editor, but will do so if it ends up being my last free alternative. A paid option is not out of question either, but without official first or second party Rust support it's very unlikely to end up being my choice.
MostlyBlindGamer 2 points 2y ago
In VS Code, Command-1 will focus on the first editor group. Control-tab will switch active files in the editor and focus on the active one.

I noticed it will sometimes read "empty web content," which is not unusual for Electron apps, but switching to another window and back seems to help.

Does that help?
Fridux [OP] 2 points 2y ago
It works if I open the file specifically from the command line. However if I open the directory and then try to open a file from within Visual Studio Code I can't get it to be displayed.

I have also tried TextMate, which has third-party extensions for Rust, but for some reason it becomes busy right after launching.

I might give Nova a try. $00 to buy plus $50 per year sounds a little too step, but if it works...
MostlyBlindGamer 2 points 2y ago
Try opening a new window with Command-Shift-N and switching between them with Command-Tilde. Control-Tab between files. It's a little finicky, but trust me, it works.

Get the Nova free trial and see if you like it.
MostlyBlindGamer 1 points 2y ago
OK, let me jump into VS Code in a little bit and I'll let you know if I can find a handy circuit or something.
This nonprofit website is run by volunteers.
Please contribute if you can. Thank you!
Our mission is to provide everyone with access to large-
scale community websites for the good of humanity.
Without ads, without tracking, without greed.
©2023 HumbleCat Inc   •   HumbleCat is a 501(c)3 nonprofit based in Michigan, USA.