Using the Atom code editor I came up with the idea of making a simple yet useful feature for it. But for this the first step is to find the beginning of the scope, for that I look for a pair of brackets . The function can be accessed using Ctrl+m
.
The issue is that as seen in the previous link the Atom already has a class implemented with a method to find the brackets, however I did not find any reference to this at API and I think I should make a fork
of the project as suggested in another similar question in the forum because of a method is not worth it.
The doubts are as follows:
- Is there a function similar to this in
API
or do I really need tofork
just because of a method?