phoenixeliot
66f99dd834
Add translation tooltips for code
...
Tweak tooltips, add some translation keys
Fixed not showing translations for English-speakers
Remove comment
2016-04-26 16:37:07 -07:00
Josh Callebaut
c4652d82e2
Implements the SPADE logger into the SpellView
...
* Updates spade.js vendor file, adds a sublime-project for developers to use
* Moves server logic away from handlers
* Moves session update logic to middleware, sets up server schema to autorender IDs as ObjectIDs
* Modernizes the supermodel loading scheme and switches from constructor to initalize
2016-04-26 09:56:30 -07:00
Catsync
7ff12f326f
Merge pull request #3548 from Catsync/autocomplete-hero
...
hero autocomplete hack
2016-04-13 14:59:21 -04:00
Cat Sync
fddba4e0ce
Hacks autocomplete to use hero instead of self/this
...
Uses hero instead of self/this if “hero” is already in the code, in
javascript, python, and lua.
2016-04-12 14:31:50 -04:00
UltCombo
8326b5e182
JS beautifier: fix loop construct, fixes #3510
...
As JavaScript is the only language supported by the beautifier, and [CodeCombat is in the process of converting things to while (true)](https://github.com/codecombat/codecombat/issues/3510#issuecomment-201965310 ), I guess adding this quick hack to the view's code should suffice for now. Hopefully, the non-standard `loop` construct will be removed from other languages before they receive beautifier support.
If this doesn't seem good, I can move this hack to `aether.beautify`, where it is possible to perform this substitution in a language-aware way (i.e. inside Aether's JavaScript implementation's [`beautify` method](418ccf2414/src/languages/javascript.coffee (L137)
)). Seeing as the `loop` construct is specific to CodeCombat, I'm not sure if that would be a good idea. Passing an options object with a flag to support the `loop` construct seems a bit overkill.
Let me know what works best for you.
2016-03-28 00:00:40 -03:00
CodeCombat
41a532cb50
WIP - cashew integration
2016-01-04 16:27:27 -08:00
Nick Winter
4a04a48f42
Got rid of testing ending line for indent visualizer
2015-12-10 11:11:12 -08:00
Nick Winter
608d45ba70
Don't do undefined slug collection scans
2015-12-10 09:05:34 -08:00
Rob
24a43f2be8
Don't show visual indent for comment ace things are blocks.
2015-12-08 14:20:23 -08:00
Nick Winter
7cbe679f6b
Remove red color for now for indentation visualizer ( #3232 )
2015-12-03 12:14:42 -08:00
Nick Winter
e7809c6622
Saven even more slowly for anonymous players during high load
2015-12-01 11:51:55 -08:00
Rob
d0f3aeec91
Draw visual indent marker by hand so it's more stylish.
2015-12-01 12:22:48 -05:00
Rob
db060e9816
Fix visual indents when document row doesn't match screen row.
2015-12-01 12:02:56 -05:00
Rob
fa21f9ef68
Add an extra indent line if the line following a range is only whitespace.
2015-11-30 17:23:29 -05:00
Nick Winter
2588bfb08b
Reduce some writes during HoC to help scaling
2015-11-30 13:05:34 -08:00
Rob
716f759e11
Be more helpful when opening a new indent.
2015-11-30 14:13:07 -05:00
Rob
79fe249291
Merge branch 'visual-indent'
2015-11-30 13:55:25 -05:00
Rob
1b43c3e54f
Clean up visual idents, limit to players under level 20 or with indentGuides turned on.
2015-11-30 13:54:50 -05:00
Nick Winter
95c703a7df
Simulate games in background while playing levels if we think there's extra compute power
2015-11-29 12:30:19 -08:00
Rob
e6afb51085
First pass at showing indention guides.
2015-11-27 20:46:55 -05:00
Nick Winter
ef72286864
Don't autoplay hero or course levels by default. Fix Course: Known Enemy autocomplete string format.
2015-11-15 07:59:20 -08:00
Nick Winter
f6307ac04e
Made while True snippets work in course levels
2015-11-11 07:41:52 -08:00
Nick Winter
2259076800
LoadingScreen -> level intro behavior
2015-11-10 15:22:09 -08:00
Rob
39a97135de
Explicitly check for selection when overriding return.
2015-11-05 10:14:53 -08:00
Nick Winter
34715befcc
Increment user's concept stats on level completion
2015-11-04 13:42:09 -08:00
Rob
e048848d6b
Add 50% more room for fingers in the autocomplete box.
2015-10-29 18:16:58 -04:00
Rob
75c63a0ace
When pressing enter with an active selection, just make a new line under it.
2015-10-29 18:16:23 -04:00
Rob
f0e1fc1f77
Let API properties declare their return values should be captured.
...
Auto complete will know when to add a variable asingment.
2015-10-29 15:07:19 -04:00
Rob
da92e15bfb
Give some API properties priority in autocomplete.
2015-10-27 23:23:43 -04:00
Nick Winter
8d09357a7a
Fixed #2914 : no disabling spaces for Clojure and other advanced/experimental languages.
2015-08-02 14:12:15 -07:00
Nick Winter
15ecc92abc
Adding 'course' type levels. Removing 'campaign' type levels.
2015-07-24 17:37:42 -07:00
Nick Winter
7173fd367f
Re-enabled gutter highlights for executing code.
2015-07-10 09:39:08 -07:00
Nick Winter
36d3b8e910
Highlighting entry points is working pretty well, at least in Python through the forest.
2015-07-09 15:05:35 -07:00
Nick Winter
4f443efd8b
First draft of logic to work out where the code entry points should be.
2015-07-09 12:47:07 -07:00
Nick Winter
dfa0de7521
Bad testing version of code entry point arrow numbering.
2015-07-09 11:45:11 -07:00
Arthur Neves
6cb673e228
i18N press enter on spell view
2015-06-14 23:20:49 +02:00
Nick Winter
a0057910ac
Fixed #2597 : press escape to abort simulation now, if your code is going to be slow.
2015-04-18 19:54:34 -07:00
Nick Winter
7471b14c4d
Fixed #2013 : removed autorun code. Fixed preloading to actually happen, but only on short solutions without a ton of statement execution.
2015-04-18 15:52:24 -07:00
Nick Winter
ea80e22dc6
Don't point out Lost Viking, since most players shouldn't attempt it. Adjust autocomplete default parameter from string to variable for Known Enemy.
2015-04-18 14:13:05 -07:00
Nick Winter
e7df703d36
Fixed #2651 : indicate better that sample code is locked when it won't let them type in there.
2015-04-13 15:04:42 -07:00
Nick Winter
4c008e4686
Fixed #2406 .
2015-04-12 12:20:33 -07:00
nemoyatpeace
b50c3fbc89
Update the shift-click insertion
...
Insertion is now language specific.
2015-03-29 01:14:13 +08:00
Nick Winter
7dff105cdf
Insane hackery for #1777 to give us more code editor space, better use of space with tall screens, and scrolling API properties. Watch out for bugs.
2015-03-25 16:47:31 -07:00
Nick Winter
3ff41f5619
Rewriting sample code dynamically to fix findNearestEnemy / findNearest(findEnemies) issues.
2015-03-12 11:08:58 -07:00
Nick Winter
3458f2069b
Temporary workaround for #2512 . Identifying ageRange. Made poll header slightly smaller.
2015-03-11 20:21:54 -07:00
Nick Winter
e58734894a
Tweaked style on space-disabling and default-locking by player level.
2015-03-09 10:50:00 -07:00
Nick Winter
f5633f05dc
Merge pull request #2414 from h3yduck/lock_issue
...
Only lock spacebar and default code when the player is lower level (issue 2406)
2015-03-09 10:37:40 -07:00
Szabolcs Gelencser
dde3e8cf8f
Remove hardcoded treshold values, make it consistent through being able to change the treshold in campaign editor, if desired
2015-02-27 17:33:38 +01:00
Szabolcs Gelencser
b138001205
for issue #2406
2015-02-26 23:42:37 +01:00
Aman Kumar
85a024546b
Autocomplete bug fix #2233
2015-02-14 02:21:54 +05:30