Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: Vijfhoek on September 15, 2013, 07:01:22 am

Title: AxIDE: An Axe IDE
Post by: Vijfhoek on September 15, 2013, 07:01:22 am
Hello!
Since Friday, I've been working on my own Axe source code editor.
I started this because I wasn't satisfied with the default TI BASIC editor. I think that the font is too big, and that it lacks some convenient features.

I decided to call it AxIDE because of the similarity to the chemical compound Oxide.

Planned Features:

Progress:
Title: Re: AxIDE: An Axe IDE
Post by: Eiyeron on September 15, 2013, 07:03:04 am
I support this! I want to have such a IDE on my calc!
Title: Re: AxIDE: An Axe IDE
Post by: nikitouzz on September 15, 2013, 07:03:25 am
:O Awesome Vijfhoekyou make this editor in axe ? :p or in asm ?
Title: Re: AxIDE: An Axe IDE
Post by: Vijfhoek on September 15, 2013, 07:05:03 am
I'm making this in Assembly
Title: Re: AxIDE: An Axe IDE
Post by: Sorunome on September 15, 2013, 07:07:35 am
awesome, hopefully this project won't die :D
I would so use it :)
Title: Re: AxIDE: An Axe IDE
Post by: Eiyeron on September 15, 2013, 07:17:51 am
My features idea
Title: Re: AxIDE: An Axe IDE
Post by: Matrefeytontias on September 15, 2013, 07:57:50 am
:o I'd be so using it if only I had space for it <_<

Also, it's possible and even easy to compile Axe programs externally, see API.inc or w/e in Axe's directory :)
Title: Re: AxIDE: An Axe IDE
Post by: Vijfhoek on September 15, 2013, 09:31:08 am
Progress! I just finished the selection arrow thingy! Now I got to make sure it doesn't show up next to non-existant programs and implement scrolling. Also, I should remove the "marching ants" animation.
(http://img.ourl.ca/screenshot000-1.gif)

--EDIT-- The arrow doesn't go past the programs now anymore
Title: Re: AxIDE: An Axe IDE
Post by: Eiyeron on September 15, 2013, 09:32:32 am
Great thing! Make sure that you only edit programs! ;)
Title: Re: AxIDE: An Axe IDE
Post by: Sorunome on September 15, 2013, 10:15:31 am
Nice!
Are you also planning to enable editing archived progs?
Title: Re: AxIDE: An Axe IDE
Post by: Vijfhoek on September 15, 2013, 10:16:33 am
Yes I am, I first want it to work with programs from RAM though.
Title: Re: AxIDE: An Axe IDE
Post by: Sorunome on September 15, 2013, 10:19:41 am
Nice! Also make intelligent writeback that it'll only write back to archive if it changes :)
Title: Re: AxIDE: An Axe IDE
Post by: scienceaddict on September 15, 2013, 02:13:28 pm
When will this be ready to use?
Title: Re: AxIDE: An Axe IDE
Post by: Vijfhoek on September 15, 2013, 02:15:55 pm
I can't give you an ETA, sorry. I have no idea how much time this project is going to require.
Title: Re: AxIDE: An Axe IDE
Post by: Hayleia on September 15, 2013, 02:15:58 pm
Great news !

A few suggestions though:
Title: Re: AxIDE: An Axe IDE
Post by: scienceaddict on September 15, 2013, 02:19:50 pm
I can't give you an ETA, sorry. I have no idea how much time this project is going to require.
thanks and thanks for the quick response. Could you possibly add a right click fx for (possibly)  viewing command help and hex preview? The hex drivs me up a wall as it is.
Title: Re: AxIDE: An Axe IDE
Post by: Vijfhoek on September 15, 2013, 02:24:58 pm
would it be possible to have a flexible menu routine so that you can have an option "smart menus/standard menus/custom menus" where smart menus would be as you said, optimized for Axe (a menu for drawing commands, a menu for conditionals, etc...), standard would be standard menu, like in the good ol' TI-OS (for the ones used to this organization) and custom would be well, custom, maube through external appvars or something so that people who don't want custom don't waste space ? (long sentence is long)
Sounds like a good idea to me!

woud it be possible (at long-term, not asking you to do it tomorrow) to see this ported to the CSE as a replacement for the very slow editor ?
I might do so if I ever get an 84+CSE - I don't currently own one.

Could you possibly add a right click fx for (possibly)  viewing command help and hex preview? The hex drivs me up a wall as it is.
With "hex preview" you mean previewing sprites? Sure!
Title: Re: AxIDE: An Axe IDE
Post by: scienceaddict on September 15, 2013, 02:27:47 pm
Exactly. Thanks.
Title: Re: AxIDE: An Axe IDE
Post by: Axenntio on September 15, 2013, 03:22:15 pm
I totaly support this project ! This sound amazing ! :o
Title: Re: AxIDE: An Axe IDE
Post by: Vijfhoek on September 17, 2013, 11:02:14 am
While I'm struggling with scrolling code for the program browser, I can update you with this mockup I made in GIMP:
(http://img.ourl.ca/axidemockup.png)
(It's a mockup, it isn't reality yet)

What do you think? The numbers in the bottom right are the line:column, and will be able to show or hide the panel with a press of a button.
Title: Re: AxIDE: An Axe IDE
Post by: nikitouzz on September 17, 2013, 11:34:41 am
EUUUHHH the black rectandle should to be on up of the screen ! it's better :D

and the cursor should be rect :D
Title: Re: AxIDE: An Axe IDE
Post by: Hayleia on September 17, 2013, 11:49:12 am
EUUUHHH the black rectandle should to be on up of the screen ! it's better :D
Not necessarily, having it on the bottom reminds me of vim.

Also, good luck Vijfhoek for your project, because I started one exactly like that not so long ago and got stuck because of stupid things (like how to insert a token without wasting time moving everyone ?). I really hope you'll manage to get this finished.
Title: Re: AxIDE: An Axe IDE
Post by: Vijfhoek on September 17, 2013, 11:52:21 am
And vim is what inspired me :)
Also, I'll be able to put F-button descriptions there
Title: Re: AxIDE: An Axe IDE
Post by: Sorunome on September 17, 2013, 01:58:04 pm
actually i don't have a preference for on top or on bottom, nano also has tons of stuff on bottom (even though it says the file name on top).
Title: Re: AxIDE: An Axe IDE
Post by: Vijfhoek on September 17, 2013, 01:59:43 pm
It shouldn't be hard to make it configurable though. Also yeah, I couldn't find a rectangle in the variable size font
--EDIT-- Doublepost sorry!
Title: Re: AxIDE: An Axe IDE
Post by: shmibs on September 17, 2013, 02:23:56 pm
you should write half of it in the top left corner and the other half along the right side. that seems like the best use of space, seeing as the screen is wider than it is tall and the font taller than it is wide :P
Title: Re: AxIDE: An Axe IDE
Post by: Vijfhoek on September 17, 2013, 02:26:01 pm
I do care about cramming as much on the screen as possible though - one main goal I wanted is being able to fit "[0011223344556677]->Pic1" on the screen, which just fits now. That's also why I don't put the line numbers to the left of the lines, it doesn't fit :/

--EDIT--
Terrible news, I just came to realize a terrible coding decision. I now have to rewrite half of the program listing, it hurts my feelings..
I hope I don't get myself into a rewrite loop like many other projects :(

--EDIT2--
I just finished rewriting, but I still have to debug. Program shrunk about 20 bytes in size :D

--EDIT3--
Debugged and working fine. I will continue the work on scrolling as soon as I'm back home.
Title: Re: AxIDE: An Axe IDE
Post by: Axenntio on September 19, 2013, 02:56:51 pm
So what's up we don't know ? :p
Title: Re: AxIDE: An Axe IDE
Post by: Vijfhoek on September 19, 2013, 02:59:46 pm
That I just finished the scrolling code like 2 minutes ago!
(http://img.ourl.ca/screenshot001.gif)
The rest of the program browser (which includes fixing the disappearing cursor when scrolling and disabling the marching ants) should be a piece of cake
Title: Re: AxIDE: An Axe IDE
Post by: Eiyeron on September 20, 2013, 12:53:04 am
I suggest you to reserve last line for options, like edit, lock, archive and copy/rename.
Title: Re: AxIDE: An Axe IDE
Post by: Sorunome on September 20, 2013, 11:24:01 am
Looking awesome, great job! :D
Title: Re: AxIDE: An Axe IDE
Post by: Vijfhoek on September 20, 2013, 07:13:07 pm
I suggest you to reserve last line for options, like edit, lock, archive and copy/rename.

Ask, and it shall be given to you:
(http://img.ourl.ca/screenshot007.png)

I've also worked on performance.
Title: Re: AxIDE: An Axe IDE
Post by: Sorunome on September 21, 2013, 05:09:49 am
Looking nice!
Suggestion: Display the name how it'll look when compiled like on the right/some other stats of the current prog like lines etc?
(image?)
Title: Re: AxIDE: An Axe IDE
Post by: nikitouzz on September 21, 2013, 05:48:08 am
question : the IDE will be a applications or a programe ? (applications should be cool)
Title: Re: AxIDE: An Axe IDE
Post by: Hayleia on September 21, 2013, 06:01:10 am
question : the IDE will be a applications or a programe ? (applications should be cool)
<off-topic and French>

Pour poser une question en bon français, par exemple pour demander la couleur de cheveux de quelqu'un, tu inverses le sujet et le verbe.
Tu ne dis pas "Tu es rousse ?" mais "Es-tu rousse ?".
(En pratique, on utilise aussi la première syntaxe, mais c'est moins propre).
Eh bien en anglais c'est pareil, on ne dit pas "the IDE will be this or that ?" mais "will the IDE be this or that ?"

Deuxièmement, tu confonds sûrement "should" et "would". "Should" c'est en gros "devrais", et "would" c'est en gros "serais". Donc pour dire "une application serait bien" tu utilises "would" et non "should".

Troisièmement, "program" s'écrit sans "e" à la fin et "application" s'écrit sans "s" à la fin quand il n'y en a qu'une seule.

</off-topic and French>

Sorry, this is completely off-topic. I actually wanted to say that on the chat but nikitouzz must have been offline when I arrived.
Also, native English speakers can correct what I said if it is wrong because that won't help nikitouzz if I give him wrong corrections, and that would help me improve too.
Title: Re: AxIDE: An Axe IDE
Post by: Vijfhoek on September 21, 2013, 07:12:33 am
Suggestion: Display the name how it'll look when compiled like on the right/some other stats of the current prog like lines etc?
(http://img.ourl.ca/mockup001.png)
Something like this? (Mockup)

question : the IDE will be a applications or a programe ? (applications should be cool)
I think I'll release it as an application.
Title: Re: AxIDE: An Axe IDE
Post by: Sorunome on September 21, 2013, 07:14:25 am
yeah, something like that :)
Title: Re: AxIDE: An Axe IDE
Post by: dinosteven on September 21, 2013, 07:42:26 am
It looks a little messy. Perhaps you could add a line separating the program name and the extra info?
Title: Re: AxIDE: An Axe IDE
Post by: Streetwalrus on September 21, 2013, 08:43:33 am
It looks a little messy. Perhaps you could add a line separating the program name and the extra info?
Hyphens ftw. :P
Also Vijfhoek, good luck with this. Several attempts at a better editor have already been made but none came to fruition, probably because they were too ambitious. (I faced this)
Title: Re: AxIDE: An Axe IDE
Post by: Vijfhoek on September 21, 2013, 05:52:50 pm
I'm having a hard time finding a good-looking and clear way of separating them, I think this is my best attempt:
(http://img.ourl.ca/mockup002.png)
I totally eyeballed the line placement, so it might be off-place by a few.. million px.

Inverting the entire row, instead of placing an arrow, would clarify that it all belongs to eachother and that it's not just another column of progs, but it doesn't look good at all in my opinion:
(http://img.ourl.ca/mockup003.png) (http://img.ourl.ca/mockup004.png)
Title: Re: AxIDE: An Axe IDE
Post by: dinosteven on September 21, 2013, 09:56:55 pm
Don't worry! The most you can be off is 95 pixels!
...jk

It looks really nice now; as for the inversion: Both the arrow and the inversion look fine. But the left pic of the inversion looks horrendous somehow because I'm somehow seeing the gmail logo rather than a lock. Go with the right pic of the inversion.
Title: Re: AxIDE: An Axe IDE
Post by: Sorunome on September 22, 2013, 03:09:39 am
Agreed, the right inversion looks far better :)
Title: Re: AxIDE: An Axe IDE
Post by: Vijfhoek on September 22, 2013, 03:43:29 am
Problem with the right inversion is that it looks meh when it's at the top, because of the title bar:
(http://img.ourl.ca/mockup005.png)
Title: Re: AxIDE: An Axe IDE
Post by: Sorunome on September 22, 2013, 03:50:47 am
Maybe add a special case for the top with a horizontal white line right after the 'AxIDE v0.01' ?
Title: Re: AxIDE: An Axe IDE
Post by: willrandship on September 22, 2013, 05:23:49 am
What about only having the line along the bottom, and not at the top?
Title: Re: AxIDE: An Axe IDE
Post by: Hayleia on September 22, 2013, 06:33:05 am
I made some mockups to solve the "meh" part.

The first one is basically breaking the top rectangle so that it never makes one block with the selection rectangle.
The second one is a stylized version of the first one (if you use that idea, feel free to change that ugly shape I used around "AxIde").
The third one is compressing things a bit so that there is a free line under the top rectangle. It would require changing the rectangle selection a bit though since the top/bottom of that rectangle sometimes is confused with a line that was already present.
Title: Re: AxIDE: An Axe IDE
Post by: Sorunome on September 22, 2013, 06:35:50 am
I like the mockup007 best! :D
Title: Re: AxIDE: An Axe IDE
Post by: nikitouzz on September 22, 2013, 06:55:35 am
why there are two bar ? can you put the 3 of mokup8 ? this is the best
Title: Re: AxIDE: An Axe IDE
Post by: Vijfhoek on September 22, 2013, 07:27:45 am
You cheated a bit on mockup007 and used pixels that aren't there :P
This is what it'd look like when aligned to pixels:
(http://img.ourl.ca/mockup009.png)

I also thought it might look better if the title was just outlined instead of inverted, but I don't really like it:
(http://img.ourl.ca/mockup010.png)

Anyway, I think I like mockup008 most.
Title: Re: AxIDE: An Axe IDE
Post by: Hayleia on September 22, 2013, 07:42:49 am
You cheated a bit on mockup007 and used pixels that aren't there :P
Ah yeah, lol, I may have forgotten that I was working in doubled size -.-°

I also thought it might look better if the title was just outlined instead of inverted, but I don't really like it:
(http://img.ourl.ca/mockup010.png)
This one is not so bad, I prefer this to the non-outlined one.

Anyway, I think I like mockup008 most.
Yeah, same for me, this is actually the reason why I made three screens for this one and not for the others lol.
Title: Re: AxIDE: An Axe IDE
Post by: Axenntio on September 22, 2013, 03:26:45 pm
Looks freaking awesome !
But what the little arrow (near the cadenas) want say ?

Sorry I'm not english D:
Title: Re: AxIDE: An Axe IDE
Post by: Vijfhoek on September 22, 2013, 03:29:49 pm
It means that the program is selected. As soon as I have time, I'll start working on replacing it with what you see above this post on this page.
Title: Re: AxIDE: An Axe IDE
Post by: Streetwalrus on September 22, 2013, 04:02:22 pm
Looks freaking awesome !
But what the little arrow (near the cadenas) want say ?

Sorry I'm not english D:
So cadenas only exists in French. In English we say lock. ;)
Also "means" is the correct translation of "veut dire".
/off topic
Title: Re: AxIDE: An Axe IDE
Post by: Vijfhoek on September 22, 2013, 04:23:55 pm
Oh, that arrow (I Google-translated it and it said "string"). It means that it's archived.
Title: Re: AxIDE: An Axe IDE
Post by: willrandship on September 22, 2013, 04:35:21 pm
So, is there any progress on the editor itself, or is the menu all there is so far?
Title: Re: AxIDE: An Axe IDE
Post by: Vijfhoek on September 22, 2013, 04:36:57 pm
The menu is all there is so far. I haven't had a lot of time last weekend, so I haven't made an awful lot of progress.
Title: Re: AxIDE: An Axe IDE
Post by: Axenntio on September 26, 2013, 03:12:50 pm
So what's up ? :)
Title: Re: AxIDE: An Axe IDE
Post by: Vijfhoek on September 26, 2013, 06:03:49 pm
Not a lot, it's slowly but surely moving forward. My school is currently bombarding me with all kinds of assignments, so I don't have as much time as I had at the beginning of the project.
/me looks forward to fall break

This is a pretty ambitious project, and I don't want to release a buggy, steaming pile of horsecrap.

Also, might I ever drop the project, I promise I'll either open source it, or make sure someone else gets the source.

--EDIT--
I've made good progress on the new program list, I might finish it this weekend.
Title: Re: AxIDE: An Axe IDE
Post by: Axenntio on October 02, 2013, 09:56:27 am
The week is past :p do you have anything to show us ?
Title: Re: AxIDE: An Axe IDE
Post by: Eiyeron on October 02, 2013, 10:03:29 am
Triple post dude! You really shluld delete two of them...
Title: Re: AxIDE: An Axe IDE
Post by: Juju on October 02, 2013, 10:03:53 am
Done.
Title: Re: AxIDE: An Axe IDE
Post by: Axenntio on October 02, 2013, 10:14:11 am
Thanks :x I think I need a better connection... sorry for this...
Title: Re: AxIDE: An Axe IDE
Post by: Vijfhoek on October 03, 2013, 01:31:44 pm
Excuse my inactivity, school suddenly requested a huge heap of attention. I'm done with the hard stuff, and I have some more time for AxIDE... for now
Fall break soon, people!
Title: Re: AxIDE: An Axe IDE
Post by: Sorunome on October 03, 2013, 02:29:34 pm
ha, school......but yay, i'm ready to expect a new wave of awesomeness :P
Title: Re: AxIDE: An Axe IDE
Post by: Aspiring on October 08, 2013, 05:45:57 pm
I would love to see this finish!  The smaller text is my favorite feature. ;D
Title: Re: AxIDE: An Axe IDE
Post by: nikitouzz on November 08, 2013, 12:41:15 pm
where is the project ?
Title: Re: AxIDE: An Axe IDE
Post by: Vijfhoek on November 08, 2013, 02:06:46 pm
It's on hold at the moment, I have been really busy with school lately so I haven't had a lot of time.
Title: Re: AxIDE: An Axe IDE
Post by: nikitouzz on November 08, 2013, 02:24:34 pm
... :(
Title: Re: AxIDE: An Axe IDE
Post by: ClrDraw on November 08, 2013, 09:54:22 pm
I considered making one of these a few months ago (before I decided to work on AlphaCS instead) because the large ti font was annoying me and made it difficult to work on large projects with.

But what happens when you use an axiom? Will it be able to change the command names like the axe hook would?
Title: Re: AxIDE: An Axe IDE
Post by: Vijfhoek on November 09, 2013, 03:17:34 am
I could try implementing that
Title: Re: AxIDE: An Axe IDE
Post by: ClrDraw on November 09, 2013, 11:33:40 am
That would be really nice, I would definitely use this if it could do that.
Title: Re: AxIDE: An Axe IDE
Post by: Aspiring on March 11, 2014, 04:42:03 pm
I was wondering if this was still being worked on because it is really cool and I would love to use it (probably lots of others too).  :/