Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some improvements #22

Open
hansemannn opened this issue Dec 8, 2015 · 2 comments
Open

Some improvements #22

hansemannn opened this issue Dec 8, 2015 · 2 comments

Comments

@hansemannn
Copy link
Contributor

I tried the plugin today and found some issues that prevent me from using it as a Studio replacement:

  • Automate autocomplete: Read the available tags automatically like the Studio does it to support new API's on the fly instead of mapping them manually
  • Hyperlinking: When clicking on a function or style class inside the xml, the referenced function / style definition should appear in the upper visible area of the file (not at the bottom -> scroll related line to top)
  • TiApp editor: Support a visual editor to edit the name, version, embedded modules and watchkit profiles like Appc Studio. Maybe that would make more sense as an own module.
@yomybaby
Copy link
Owner

yomybaby commented Dec 9, 2015

Thanks. Great suggestion! 😄

  • Automate autocomlete : I was considering that before via using api.jsca on TISDK directly. But api.jsca too big. When parsing api.jsca, it looks over 1sec on my MBP(even SSD). I don't want to make delay when launching Atom. So I decided to generate json file. This completion function doesn't update on the fly but it can be updated run completionGenerateScript/titanium.js easily. What do you think about adding a command to run the script on Atom? Is this useful?
  • Hyperclick : It's great point! I never thought that. I'll try to find a way to make definition appears in the upper visible area of the file!
  • TiApp editor : Yes, I want it too. But I don't have any idea how to implement yet. Additionally, I don't have enough time :(

@yomybaby
Copy link
Owner

yomybaby commented Dec 9, 2015

scrollToCursorPosition,Atom API, has only center option. :(

https://atom.io/docs/api/v1.2.4/TextEditor#instance-scrollToCursorPosition

I'll try find a way to scroll to top. If you know, let me know or make PR 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants