Re: The best editor for indentation monitoring

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

if you don't need additional functionality like auto-completion or
intelly sense, my Ride editor is designed to make use of the indentation
to significantly ease coding for blind people.


Unfortunately, my website is down right now due to a transition process,
so I can't send you just a link to an article.


But in short, Ride, instead of treating the code like a bunch of lines,
presents you the text like a tree, only showing you the current level
and its content.


Say you have a file with 5 classes. These may have over 100 lines each,
and in a standard editor, you'd need to cross all of their content, or
use search to get to your place of interest.


Whereas in ride, you'd just see:


class A:

class B:

Class C:

Class D:

Class E:


And if any class catches your interest (because you want to work on it
or read through it), you can expand it and your view would become:


class C:


def __init__(self):


def say_hi(self):

def ask_a_question(self):


Again, you see just the content of your current location.

If any method interests you, you can further dive in and your view would
become:


def say_hi(self):

print(f"Hi, my name is {self._name}")


It's similar to code folding, except that here you don't see anything
but your current area of interest, and have few special abilities due to
the way Ride works.

For example, the indentation is managed fully by the program, and you
don't even see it while coding. If you want to change it somewhere, you
have to make a consistent operation like creating a new block of code,
moving existing-ones etc.

That's why you literally can't get it wrong, even if you wanted to, the
editor won't let you.


Copying and moving code also becomes very easy in this tree philosophy,
by selecting nodes instead of specific lines, you can have entire blocks
of code flying around just like you'd be copying one word or character,
without ever worrying whether you selected all the lines that belong
into your selection.


This project originally started for Windows, but I rewrote it for Linux,
it was the first thing I did on the open platform, as not having it was
like being without my right arm.


The Linux version is written in Rust, is blazingly fast and has many
modernizations over the Windows-one.


I did not release it yet, as therre are still some formalities to be
done like proper settings, perhaps a more transparent configuration, and
I wanted to replace Bass with OpenAL for audio.


But in terms of functionality, it works great. I've used it for all
sorts of development - Rust, Python, C#, Kotlin, XML, HTML, JavaScript,
Dart, Vala, and the experience has been awesome (it's the only code
editor I'm using).

I use it even on large files (like Android logs) and files with very
long lines (typically unformatted JSOn or other serialization format),
Pluma usually gets stuck with these, Ride does not have any problems,
since it doesn't use a standard text box for inputting and displaying
text (in fact, it does not display text at all haha).


If you or anyone else would be interested, I can provide betas, as I
have no idea when is this going to be released.


Best regards


Rastislav


Dňa 11. 4. 2022 o 15:43 Linux for blind general discussion napísal(a):
> Hi,
>
> I want to try write a little game in Python, using Gtk for gui and
> Python as programming language. But the biggest problem for me is
> indentation. So, can you recommend me some editor, which will follow and
> if possible correct my indentation? Fedora / Ubuntu.
>
> Thanks,
>
> Pavel
>
>
> _______________________________________________
> Blinux-list mailing list
> Blinux-list@xxxxxxxxxx
> https://listman.redhat.com/mailman/listinfo/blinux-list
>

_______________________________________________
Blinux-list mailing list
Blinux-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/blinux-list




[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]