Open hax opened 7 years ago
This is due to the new 1.19.0 rewrite of editor internal apis. Will be fixed (totally rewrite) next month.
I got this update of Atom now on Ubuntu... how is the rewrite going? I can not live without elastic tabstops. :)
Start working on it.
See https://github.com/hax/atom-elastic-tabstops/tree/atom-1.19 There are some bugs, but should work in normal cases.
Will this soon be released to the normal apm-thingie so I can install it directly from Atom and not from source?
@lillem4n Sorry, I'm busy on some public presentations and other tech events recent weeks, so do not have enough time to release a stable version until 10th Sept.
That means it is comming! Most awesome! Thanks! \o/
催更!😂
Is that issue updated?
Is that issue updated?
I just updated Atom to 1.21 and it fail there as well.
Confirmed in 1.22 as well, if it helps. :)
The problem is still there, can you give us a short update on the progress?
Hello, guys!
Today I decided to install Atom for the first time to try it out. (Yesterday, actually, since now it’s over midnight.)
As I tend to do in the rare occasions I install a new text editor, I looked up for an elastic tabstops plugin in the hope of finally being able to make use of the concept.
I was thoroughly pleased to find this package, so I hurriedly installed it with high hopes. Unfortunately, it crashed on installation, and Atom linked me to this very issue that hasn’t been touched in several months.
I was quite frustrated about it; I really wanted to make use of elastic tabstops. But I did not give up, I decided to download the code from branch atom-1.19
to see if it would work only to find out that it didn’t either.
That did not stop me, however. I put my quite lacking hacking skills to use and started to hack around the source.
I will stop narrating my little misadventures now as the rest is about what you’d expect. But, in conclusion, I was able to fix the broken version at atom-1.19
to make it work on the newest version of Atom.
I will be attaching the fixed files in this very comment so you guys can rejoice too.
Here are the steps to use the fixed version correctly:
atom-1.19
branch.elastic-tabstops-new
or some other meaningful name.lib
folder of the elastic-tabstops-new
folder, replacing the existing files from that folder.elastic-tabstops-new
folder, run npm install
.elastic-tabstops-new
folder into the ~/.atom/packages
folder in your computer.Window: Reload
command.Edit:
I forgot to mention it, but there are still some issues around positioning the caret and toggling the feature off with the given keyboard shortcut, but I’m not sure if I’m knowledged enough to fix those. Either way, if I end up finding anything, I’ll be sure to share it here.
Sorry, I do not have enough time for this project in last several months.
@Zambonifofex if you could submit your fixes as a PR, I would like to merge it and republish a new version.
@hax, done: #26.
New version released, hope it work. Thank you @Zambonifofex
Seems to sill have some issues: https://github.com/hax/atom-elastic-tabstops/issues/27
[Enter steps to reproduce:]
Atom: 1.19.0-beta3 x64 Electron: 1.6.9 OS: Mac OS X 10.12.5 Thrown From: elastic-tabstops package 1.1.3
Stack Trace
Failed to activate the elastic-tabstops package
Commands
Non-Core Packages