Glad you got it sorted dude. Please do post any suggestions on how to improve it. Thanks! [import]uid: 8889 topic_id: 23072 reply_id: 100331[/import]
@All,
New in v 1.5.0
-Save as you type feature, as requested.
-Note, since this is a new module, you may have to go to the plugin manager and click reload. The module will then appear under “available modules”
@Taruga,
For the indentation issue please ensure there is a newline at the end of the document. You may then do an auto-reformat to fix any of these indent problems until we implement a more robust mechanism.
@Taruga and digitaldeath,
Thanks for the themes! They are very nice and we are using them ourselves.
@Antheor,
Yes you may use any theme package made for the Netbeans IDE, it should be compatible with just a few color tweaks here and there. Taruga and digitaldeath have made excellent themes you can try as well. Just go to options/preferences and press import, then point to the zip file and select all the nodes.
Regards,
M.Y Developers [import]uid: 55057 topic_id: 23072 reply_id: 100337[/import]
I apologize if this is not the correct place to ask but are there known problems with debugging code that includes Lime?
I’ve had no problems debugging witht eh latest version of Cider but when I added Lime to the project I get the errors below. No errors when I just run:
Runtime error
…opbox/DevTest/lime-external-deflatelua.lua:108: attempt to perform arithmetic on local ‘n’ (a string value)
stack traceback:
[C]: ?
…opbox/DevTest/lime-external-deflatelua.lua:108: in function ‘f’
…opbox/DevTest/lime-external-deflatelua.lua:99: in function <…opbox>
…ocuments/Dropbox/DevTest/CiderDebugger.lua:158: in function ‘serializeDump’
…ocuments/Dropbox/DevTest/CiderDebugger.lua:189: in function ‘serializeDump’
…ocuments/Dropbox/DevTest/CiderDebugger.lua:625: in function <…ocuments>
…opbox/DevTest/lime-external-deflatelua.lua:429: in main chunk
[C]: in function ‘require’
…cuments/Dropbox/DevTest/lime-tileLayer.lua:43: in main chunk
[C]: in function ‘require’
…dev/Documents/Dropbox/DevTest/lime.lua:55: in main chunk
[C]: in function ‘require’
…dev/Documents/Dropbox/DevTest/main.lua:16: in main chunk
Runtime error: …opbox/DevTest/lime-external-deflatelua.lua:108: attempt to perform arithmetic on local ‘n’ (a string value)
stack traceback:
[C]: ?
…opbox/DevTest/lime-external-deflatelua.lua:108: in function ‘f’
…opbox/DevTest/lime-external-deflatelua.lua:99: in function <…opbox>
…ocuments/Dropbox/DevTest/CiderDebugger.lua:158: in function ‘serializeDump’
…ocuments/Dropbox/DevTest/CiderDebugger.lua:189: in function ‘serializeDump’
…ocuments/Dropbox/DevTest/CiderDebugger.lua:625: in function <…ocuments>
…opbox/DevTest/lime-external-deflatelua.lua:429: in main chunk
[C]: in function ‘require’
…cuments/Dropbox/DevTest/lime-tileLayer.lua:43: in main chunk
[C]: in function ‘require’
…dev/Documents/Dropbox/DevTest/lime.lua:55: in main chunk
[C]: in function ‘require’
…dev/Documents/Dropbox/DevTest/main.lua:16: in main chunk
[import]uid: 111413 topic_id: 23072 reply_id: 100338[/import] </…ocuments></…opbox></…ocuments></…opbox>
Here is a sample of the print messages in my output window. Note on line 20 the text was truncated. There should be a few more lines of text.
[text]
------------ Table: Server response in Ape:_requestCallback -------------
[{“time”:“1334127071”,“raw”:“CLOSE”,“data”:{“value”:“null”}}]
------------ Table: CLOSE -------------
[raw] => CLOSE
[time] => 1334127071
[data] => table
(
[value] => null
)
------------ Table: Server response in Ape:_requestCallback -------------
[{“time”:“1334127071”,“raw”:“DATA”,“data”:{“msg”:"{“action”:“GAME-STATE”,“player”:{“position”:1,“status”:0,“name”:“BoarK”,“isSpectating”:false,“id”:57,“score”:1540054,“picture”:“profile-57-1333446626.jpg”,“isSuspended”:false},“players”:{“1”:{“position”:1,“status”:0,“name”:“BoarK”,“isSpectating”:false,“id”:57,“score”:1540054,“picture”:“profile-57-1333446626.jpg”,“isSuspended”:false}},“turnTime”:26000,“started”:false}",“from”:{“casttype”:“uni”,“pubid”:“69a7accc0162bca50c904e7668dbfbfb”,“properties”:{“score”:“0”,“name”:“gamehost”,“id”:“6”}},“pipe”:{“casttype”:“uni”,“pubid”:“69a7accc0162bca50c904e7668dbfbfb”,“properties”:{“score”:“0”,“name”:“gamehost”,“id”:“6”}}}}]
------------ Table: DATA -------------
[raw] => DATA
[time] => 1334127071
[data] => table
(
[msg] => {“action”:“GAME-STATE”,“player”:{“position”:1,“status”:0,“name”:“BoarK”,“isSpectating”:false,“id”:57,“score”:1540054,“picture”:“profile-57-1333446626.jpg”,“isSuspended”:false},“players”:{“1”:{“position”:1,“status”:0,“name”:"Bo
[/text]
This is the code I’m using to print out the table contents.
[lua]__tablePrint = function(tt, indent, done)
done = done or {}
indent = indent or 0
if type(tt) == “table” then
for key, value in pairs (tt) do
io.write(string.rep (" “, indent)) – indent it
if type (value) == “table” and not done [value] then
done [value] = true
io.write(string.format(”[%s] => table\n", tostring (key)));
io.write(string.rep (" “, indent+4)) – indent it
io.write(”(\n");
__tablePrint (value, indent + 7, done)
io.write(string.rep (" “, indent+4)) – indent it
io.write(”)\n");
else
io.write(string.format("[%s] => %s\n",
tostring (key), tostring(value)))
end
end
else
io.write(tt … “\n”)
end
end
table.print = function(tt, name, indent, done)
name = name or “”
io.write("------------ Table: “…name…” -------------\n")
__tablePrint(tt, indent, done)
io.write("-------------------------------------------\n")
end[/lua]
The print messages are displaying properly in a regular Corona simulator output window.
BoarK. [import]uid: 23864 topic_id: 23072 reply_id: 100339[/import]
In the latest build I have my print statements printed twice.
In the corona terminal they only display once.
Is this a known issue? [import]uid: 100901 topic_id: 23072 reply_id: 100341[/import]
I’ve made a few changes to other colors and I’m using the Monaco 14 font
http://dl.dropbox.com/u/507021/Sublime_alt.zip
and another one, the one I’m using right now:
http://dl.dropbox.com/u/507021/MyTheme.zip [import]uid: 10141 topic_id: 23072 reply_id: 100334[/import]
Is it possible for Cider to “remember” code folds?
Now it unfolds everything when it opens file.
Thanx [import]uid: 101952 topic_id: 23072 reply_id: 100369[/import]
-Save as you type feature, as requested.
@M.Y Developers
You guys are incredible! Never heard of such prompt responses.
Hopefully i’ll be able to release the realtime coding library i’m working on to compliment it soon.
Thanks guys! [import]uid: 118390 topic_id: 23072 reply_id: 100437[/import]
Hopefully i’ll be able to release the realtime coding library i’m working on to compliment it soon.
Looking forward to see what you came up with. [import]uid: 47723 topic_id: 23072 reply_id: 100449[/import]
SUGGESTION:
This is regarding the navigator panel. If you look at the attached image of the navigator you can see that there is a lot of clutter in the function names. I find it hard to distinguish one function name from another in that list. I think that if the class name is of a different color or even un-bolded then it will be much easier on the eyes.
BoarK. [import]uid: 23864 topic_id: 23072 reply_id: 100466[/import]
@All,
Any one knows how to bring up a list of all the bookmarks?
Thanks. [import]uid: 23864 topic_id: 23072 reply_id: 100482[/import]
Is the website http://www.mydevelopersgames.com/ down?
Cannot access it for hours now
[Edit] That’s OK this morning (from France)! [import]uid: 77660 topic_id: 23072 reply_id: 100493[/import]
I discovered a lock-up bug in Cider and need to know how to get past it. I was viewing my code in split-screen side-by-side. I saved, then exited Cider. Now when I try to load Cider again, I get as far as “Turning on modules…done.” and it just sits there forever. I’ve been unable to get past that.
This has never happened before, so I have to assume it doesn’t like being shut down in a split-screen side-by-side configuration.
Please help me clear it and get back into Cider.
Thanks… [import]uid: 5540 topic_id: 23072 reply_id: 100545[/import]
@corona706,
This is the right place to post for now. We will be on the third party list soon so hopefully we will get our own forum section.
Do you get this error when you are doing something specific? ie during a breakpoint or during stepping? Does this problem occur during debug mode/run mode? Also, can you provide a sample that will replicate this problem. Our email is:
mydevelopergames@gmail.com
@Boark,
Sorry for our ignorance but why would you use io.write instead of print? We needed to proxy the print method so it properly sends console output to an external process (the IDE.) If you use print statements then nothing should get truncated.
I think that if the class name is of a different color or even un-bolded then it will be much easier on the eyes.
great suggestion, it will be in the next update.
Any one knows how to bring up a list of all the bookmarks?
perhaps this is what you are looking for?
http://plugins.netbeans.org/plugin/11811/numbered-bookmarks
you can download the .nbm file and drag it in the plugins manager to install. You can do this for any netbeans plugin.
@gravityapple,
Sounds great! We cant wait to see it.
@T.alberga,
I have my print statements printed twice.
For some reason the Corona simulator restarts when it is called from an external process. Your print statements will only be duplicated once, if you restart the simulator via ctrl-r you will not get duplicates.
Regards,
M.Y. Developers [import]uid: 55057 topic_id: 23072 reply_id: 100683[/import]
@Pinback,
Sorry about the inconvenience.
Did this occur after an update? Are you on windows or a mac? Usually this can happen if CIDER is forcibly closed and you may have to delete the IDE cache. The location can vary. In windows you can find this in
C:\Users${Your user name}\AppData\Roaming.cider\dev\var\cache
or you could just delete the entire .cider folder
and in Mac it will be under
/Users//Library/Application Support/cider/var/cache
or you can just delete the cider folder.
First try clearing the cache then delete the entire folder if that fails.
Regards,
M.Y. Developers [import]uid: 55057 topic_id: 23072 reply_id: 100688[/import]
Deleting the cache didn’t help, but deleting the entire .cider directory took care of it! Noted for future reference. Thanks very much!
[import]uid: 5540 topic_id: 23072 reply_id: 100730[/import]
@All,
Minor update: Class-names are now un-bolded for readability as requested.
Tip: When you search for a function name via the navigator you can search for a substring instead of just the beginning few characters. The beginning few characters take precedence however.
Regards,
M.Y. Developers [import]uid: 55057 topic_id: 23072 reply_id: 100731[/import]
Sounds great! Also, one thing you might want to try if this happens again is to delete the “lock” file instead of the entire directory. This can fix many problems that arise when the IDE was forcibly shut down and will preserve your settings.
Thanks,
M.Y. Developers [import]uid: 55057 topic_id: 23072 reply_id: 100732[/import]
@srdjan,
Sorry, it probably will not be so easy to remember the code folds. Just so you know there are nifty shortcuts to collapse and expand all folds:
Collapse Fold Ctrl+Minus
Expand Fold Ctrl+Plus
Collapse All Folds Ctrl+Shift+Minus
Expand All Folds Ctrl+Shift+Plus
Regards,
M.Y. Developers
[import]uid: 55057 topic_id: 23072 reply_id: 100733[/import]
Is the save on type needed for cider to function or can I just ignore it? If I can ignore it how can I get it out of my available plugin list? Or if I install it can it be disabled by a checkmark? SO it doens’t clutter my available plugins list? [import]uid: 100901 topic_id: 23072 reply_id: 100738[/import]