The Beginnings of Outlaw

Interesting screenshot :slight_smile:

Are these options available in the current version of Outlaw? [import]uid: 101952 topic_id: 32340 reply_id: 139074[/import]

No, right now Outlaw is the next version of CPM. Technically, yes, that code is in the program, but you can’t get to it unless you’re me. :slight_smile: And honestly, you wouldn’t want to get to it yet – it’s still very much a work in progress.

I worked on it some last night and then put it away for a couple weeks while I get an overdue game out the door.

But it is coming at some point in the future. And I think it’s going to be really cool. :slight_smile:

Jay [import]uid: 9440 topic_id: 32340 reply_id: 139079[/import]

Cool

While we are waiting for that feature…is there an info or documentation for the current version?
I’ve noticed Tags (which are bookmarks - right/no?) plus red markers. Is there more? And how tags works?
I have feeling that they are more than just bookmarks (in which case you’ll, probably, call them bookmarks :slight_smile:

Regards [import]uid: 101952 topic_id: 32340 reply_id: 139138[/import]

The stuff here all pertains to Outlaw - just ignore the CPM name:

http://coronaprojectmanager.com/learningcenter/

At some point in the near-mid future I will start recreating the tutorial videos with Outlaw, but since there are some big changes coming I’m stalling for as long as possible.

The blue tags in the gutter are the bookmarks – the red tags should have been removed from the shipping version. They are part of a module that may or may not be released in the future. So you won’t see them in v3.0.8. :slight_smile:

Jay
[import]uid: 9440 topic_id: 32340 reply_id: 139302[/import]

New docs will be really useful. There is something called “placeholder” which is not covered in your tutorials. Plus (if my memory serves me well) there was some kind of comment which can be used as bookmark…which can be useful because current bookmarks are lost if the file is closed.
Highlighting of all occurrences of the current selection would be uber cool too…

And yes, there is one issue: I noticed that AutoAddAssets doesn’t work on my Win7
(is this forum correct place for bug reports?)

Edit:
I’ve found it in the forum!
#label is for labelled bookmarks.
Placeholders are probably used for autocomplete…

Btw. is it possible to indend multiple lines at once? [import]uid: 101952 topic_id: 32340 reply_id: 139318[/import]

Select the lines, hit Command+] to indent, Command+[to outdent. (Control+] and [ on Windows)

You can also use --#snippet SnippetName in your code and it will import the snippet by that name when you launch. Makes it nice to import stuff you need but don’t really need to view the code while you’re working.

Jay [import]uid: 9440 topic_id: 32340 reply_id: 139534[/import]

There’s also another tag that works with the files you throw in Prefs > Library

#library libName

That will copy the named library from wherever it lives on your hard drive and put it with your launched program (it doesn’t move it into the project itself). It will also put require(“libName”) in your code at the spot of the tag.

You can also throw in a variable name if you want:

#library libName varName

…which turns into…

varName = require(“libName”)

Why use the tag instead of just a normal require? It’s simply a way of leaving generic library files in one spot on your hard drive but still be able to easily include them in your projects on the fly.

Oh, that tag is actually broken in the current version but is fixed in 3.0.8 which should be available in a few days. :slight_smile:

Jay

EDIT: Forgot about this shortcut:

#library libName+

…will turn into…

libName = require(“libName”)
[import]uid: 9440 topic_id: 32340 reply_id: 139539[/import]

Great!

Thank you for this detailed info about tags. They can save me a lot of time…
#snippet is my favorite…

Unfortunately control+[ doesn’t work on my laptop. (I’ve tried many KB layouts w/o success)
For now I’ll have to indent each line manually.

Thanks
[import]uid: 101952 topic_id: 32340 reply_id: 139552[/import]

Apparently I “connected” the wrong key in Windows – I just tested and Control+] doesn’t work, but the Windows Key+] will indent a block of code. I don’t know if every Windows keyboard has a “Windows key” but if yours does, give it a shot.

3.0.8 already went out the door but I’ll try to hook up the correct key for the next version. :slight_smile:

Jay
[import]uid: 9440 topic_id: 32340 reply_id: 139554[/import]