Feature Requests

Requests:

  • Custom color for the terminal
  • Save editor color themes.
  • When double-click the splitter bar, then only show current project files/assets in the sidebar.
  • A button for hide/show files or a keyboard shortcut (cmd + h(ide)) [import]uid: 13560 topic_id: 7025 reply_id: 41699[/import]
  • Custom color for the terminal

In v3 my plan is to use the same editor control for Terminal that I do for Preview/Code, so it will be colored like your editor window. If you mean a separate color just for Terminal, not sure about that.

  • Save editor color themes.

I intend to have themes support in v3, including ways to import and export themes so people can share.

  • When double-click the splitter bar, then only show current project files/assets in the sidebar.

Interesting idea. I’ll have to mull that over. I am planning on “redoing” the Project list in v3 so depending on what happens with that, this idea may not be necessary.

  • A button for hide/show files or a keyboard shortcut (cmd + h(ide))

Do you mean hide/show the asset list? Or do you mean keyboard shortcuts for the Code Graphics Audio checkboxes at the top?

Thanks for the suggestions.

Jay
[import]uid: 9440 topic_id: 7025 reply_id: 41790[/import]

It would be nice if you wouldn’t need to copy/past every time you added or updated the autocomplete words. Perhaps a way to read from a textfile on startup of CPM?

also, I think it’s a bug. When I type in the editor (tabs) then sometimes the words get added to the autocomplete words in the prefs.

I have the lates version of CPM. [import]uid: 13560 topic_id: 7025 reply_id: 43256[/import]

@lano78 I’ve came across the same bug and submitted it as a bug with steps to reproduce. I’m sure Jay will take care of that soon enough…

Here is the steps if you’ll like to confirm

  1. Launch CPM
  2. Open any .lua file with some content in it…
  3. Select a text and copy it (“portrait” in my case)
  4. Paste it to somewhere else in the code
  5. Press spacebar (it becomes "portrait ")

If goto Prefs -> Editor & scroll down the autocomplete words list, you’ll see “portrait” added to the bottom of the list by itself.

That only happens when I copy & paste and append a space. If I press return or any other letter, it’s not happening. [import]uid: 10478 topic_id: 7025 reply_id: 43283[/import]

What’s a bug is that the word is NOT added when you paste and then hit return.

When you type anything into the editor it should be added to the autocomplete list – that way your variables get added and you can autocomplete them later in the code.

It watches and when you type something that should end a word, like ( . [ or space it grabs the word and looks to see if it’s already in the list. If not, it adds it (anything over 2 characters is considered a word).

It’s supposed to recognize that Return ends a word, too, but that part is broken.

And that’s why CPM can’t autoload the autocomplete list – you’d overwrite the things you put in there (by typing).

What I may be able to do is split the list up – “official” autocomplete words and user-added autocomplete words. That way I could notify people if the official list changed.

Or, it could work differently – I’m open to suggestions. V3 is going to have some major changes anyway, so one more is fine. :slight_smile:

Jay
[import]uid: 9440 topic_id: 7025 reply_id: 43290[/import]

Ah, thanks for the clarification! It was too complex for a bug anyway :slight_smile:

Problem might be the way I work but most of the words end up there is not useful for me (not just variables) and I’m cleaning them up every other day…

Maybe you can just make it optional with a check box in prefs? to turn on/off that feature…

Or maybe there could be an extra key if we want current line added to the list… fx, command+space instead of just space…? [import]uid: 10478 topic_id: 7025 reply_id: 43300[/import]

Add support for documentation (open pdf and html files in the tabs).

Perhaps a similar setup as there is for the Libraries in the Prefs and a button next to the Bookmarks Button ?

I have them in a project at the moment but it is a bit annoying to have them open in external viewer, especially when you have limited/small screen estate.

[import]uid: 13560 topic_id: 7025 reply_id: 43385[/import]

CPM is really nice. But I miss some important features:

  • auto-indent option for marked text
  • collapsible functions

also, I feel quite disoriented when I open many tabs of different projects.
if you’re not able to implement tab-rearrangement, maybe some color coding would do the trick: assign a color to a project(folder) and color code every tab from that project with that color…

well, I’m looking forward to future versions,
keep up the good work !

-finefin [import]uid: 70635 topic_id: 7025 reply_id: 44315[/import]

I’m not sure what you mean by auto-indent for marked text. You select a range of lines and then they automatically indent? I don’t get that. :slight_smile:

Collapsible functions is in there – but hidden so only the special people can see it. Well, only me. :slight_smile: Because it breaks if you use this style of function:

[lua]local foo = function()[/lua]

If you use this style:

[lua]local function foo()[/lua]

…it works, but I’m trying to figure out how to make it work for both so I don’t have lots of tech support calls asking about it.

I may unhide it in the next version, make it toggle-able in Prefs, and mark it Beta just to get some feedback on it.

Jay [import]uid: 9440 topic_id: 7025 reply_id: 44418[/import]

Oh, and about the idea for color-coded tabs – awesome idea, I love it. I know what you mean about getting confused by too many tabs.

The only tricky thing is that right now I’m using a 3rd-party control for the tabs so whatever they allow is all I can do. My hope is that as CPM continues to grow in popularity it’ll bring in the kind of dough to allow me to rewrite some of those things to make them more extensible.

But I’ll do some digging and see if color-coding is at all possible because that sounds like a cool way to handle things.

Jay
[import]uid: 9440 topic_id: 7025 reply_id: 44419[/import]

As another thought, if color coded tabs isn’t possible, you could maybe figure out an additional icon to place on each tab that correlates to the project folder the file came from.

Hopefully you can add more than one image to the tabs, so you can keep your icons showing a dirty file, and an additional icon.

Just a thought. [import]uid: 5317 topic_id: 7025 reply_id: 44449[/import]

Preview of images in projects. I recall it did that in early versions, or i might have seen that somewhere else…
[import]uid: 13560 topic_id: 7025 reply_id: 44458[/import]

To preview, select a file in the asset list and then click the Preview tab.

Or, select a file in the asset list and then hit the spacebar.

Source files will show the code, image files will shows the picture (dimensions at the top of the window) and audio files will show a player control so you can hear them (running time in seconds at the top of the window).

Jay
[import]uid: 9440 topic_id: 7025 reply_id: 44531[/import]

oh well, “auto-indent” was maybe a bit confusing…

I mean that you should be able to mark some code (or a whole script) and click a button (or use the context menu or a keyboard shortcut) to indent the script you marked.

for starters I would also be happy to be able to shift marked text to the left or right, just like you can do in TextWrangler…

anyways, you do a great job! keep it up!

-finefin [import]uid: 70635 topic_id: 7025 reply_id: 44534[/import]

You can use Command-[to shift a block of text left and Command-] to shift it right. Or Control-[and Control-] on Windows.

That should work as of the latest version.

Jay
[import]uid: 9440 topic_id: 7025 reply_id: 44642[/import]

yeah it works!
thanks! [import]uid: 70635 topic_id: 7025 reply_id: 44665[/import]

Hey Jay, I request you get CPM to randomly play my favourite music from iTunes in the background in response to my typing - thrash metal when I’m typing fast, Bach when I slow down.

Not in the next release?

Okay, how about a confirm on Quit. My stupid fingers keep typing Cmd-Q when they shouldn’t and there’s nothing to stop them! You could make it an option for people who are more in control of what they’re doing :slight_smile: [import]uid: 39538 topic_id: 7025 reply_id: 45763[/import]

Confirm on Quit as a Preference option sounds reasonable. Until I get that in, open a file and make a change (even just insert a space) then don’t save the change. That way if you try to quit it will ask if you want to save the changes and you can Cancel that.

If I had more time I’d implement your Typing Speed = Music Selection feature as an easter egg. That would be awesome. :slight_smile:

Jay
[import]uid: 9440 topic_id: 7025 reply_id: 45806[/import]

The only thing i want is CPM to remember the spacing between Name, Type and location

:slight_smile:

With the option to hide/not show those categories also. (the only category i would like to show is name for instance)

Keep up the great work Jay :slight_smile: [import]uid: 6981 topic_id: 7025 reply_id: 45964[/import]

How far are we away from multiple colour themes? :slight_smile: :slight_smile:
Still think it would be a cool feature to add before the summer is over (here in England) so I (and everyone else) can switch themes when working outside in the bright sun and then back again when indoors :slight_smile:

Sunshine here is rare so making the most of it is important :wink:

– Chris
[import]uid: 33866 topic_id: 7025 reply_id: 45967[/import]