Suggestion for code editor

Shrinking project/asset panes via button click might work – I’ll have to poke at that.

As far as version control goes, a “plain vanilla” backup is coming first. That will save specified projects to a a backup folder – I expect that to hit in v2.2 – possibly v2.1, but I’m wrapping that up now and don’t think I want to add another bigger feature like that at this stage.

At some point “soon” I’ll look at version control possibilities. Git on your own system makes more sense (to me) than Github, but what about Subversion? Has everyone moved on to Git at this point?

(You can see how much I use source control!)

Jay
[import]uid: 9440 topic_id: 6182 reply_id: 22518[/import]

Good going Jay. Looking forward to the update. Let us know if you need testing help. [import]uid: 11904 topic_id: 6182 reply_id: 22586[/import]

The prevailing wind these days amongst the linux fanboys seems to be for Git. I’m sure that there are lots of folks out there that use Subversion but more and more people are moving over to Git for a number of reasons. The big indicator of this was when Linus Torvalds switch over to Git.

If I might make a suggestion on your plain vanilla back up . . . an option in the preferences that will enumerate the backups. First time you save main.lua the original version gets backed up to main.lua_01. The next time you save main.lua you get main.lua_02 in the back up folder and so on.

As I said, make this an option in preferences that people can toggle between just a simple backup and the enumerated backup.

I’ll presume a bit and also suggest that you probably need to deal with the folders problem before the backup. You are going to want the backup to be able to handle assets in folders properly. [import]uid: 5178 topic_id: 6182 reply_id: 22590[/import]

the dual configuration options build.settings and config.lua in codegenerator causes errors when installing on device in xcode. I got “There was an internal API error” a bunch of times until I figured out I had defined a couple of the same things in those files one of them was UIPrerenderedIcon.

When I commented it out in one of them it was fine, I kept it in the build.settings file.

Maybe it’s best to just be able to define this in one place?? [import]uid: 13560 topic_id: 6182 reply_id: 22873[/import]

Hmmm…I don’t see where it’s possible to set UIPrerenderedIcon in the config.lua – at least not with the Code Generator. If you put it in manually I can’t stop that, of course.

But maybe I misunderstand what you’re saying – could you clarify it?

Thanks.

Jay [import]uid: 9440 topic_id: 6182 reply_id: 23134[/import]

Search for symbol on anca’s website.

I have this command in TextMate:

if ["" != "$TM\_SELECTED\_TEXT"]   
then open http://developer.anscamobile.com/search/node/$TM\_SELECTED\_TEXT  
else open http://developer.anscamobile.com/search/node/$TM\_CURRENT\_WORD  
fi  

which essentially takes either the symbol under the curson or the selected text, and opens up the webbrowser with search query on Ansca’s site.

In a similar fashion you could bring up the right API documentation if you generate the right url associated with an API doc entry, like
http://developer.anscamobile.com/reference/index/eventisshake for the event.isShake doc-page.

Would be a very nice addition to CPM to incorporate that functionality thru a pop-up menu… and probably not too hard to implement.

-FrankS.

[import]uid: 8093 topic_id: 6182 reply_id: 24163[/import]

Another quick suggestion (bug fix?): In a lot of cases, if CPM doesn’t know exactly what filetype something is, it marks it as audio/mp3, when it really should be code (example is JSON).
Not only does the preview tab not show the contents of the file, (it displays an audio player), but it gets hidden when I uncheck Audio. Some way to fix this? [import]uid: 8782 topic_id: 6182 reply_id: 24232[/import]

@NayGames - I can add more “smarts” to the filetype filter, but I may always be playing “catch-up” as everybody uses different types of files. I’m looking at allowing users to specify how different filetypes should be thought of – hopefully I’ll have something better than the current system in the next version or so.

Jay
[import]uid: 9440 topic_id: 6182 reply_id: 24269[/import]

Double click in the code editor selects a word, triple click does not select a line… would be nice to have.

-FS.
[import]uid: 8093 topic_id: 6182 reply_id: 24741[/import]

Underline deprecated methods/classes etc in code editor instead of reading the terminal, this would help a lot when updating the code. [import]uid: 13560 topic_id: 6182 reply_id: 25379[/import]