vmware-archive / scripted

The Scripted code editor
Eclipse Public License 1.0
1.56k stars 166 forks source link

Latest build not running - empty editor #184

Closed cawoodm closed 11 years ago

cawoodm commented 11 years ago

Getting no script editor (in any project) in the latest build: 2013-02-06_1051

The only error I can see in scripted.log (which I can't attach here) is: Error in request for '/jsdepend/getContents?args=%5B%22G%3A%2FWork%2FJavaScript%2Fentity%2Fcrafty%2Fentities.js%22%5D': Error: ENOENT, open 'G:\Work\JavaScript\entity\crafty\entities.js'

While the file is missing, it's also not referenced AFAIK - my .html references a ./scripts/entities.js and not ./entities.js

aeisenberg commented 11 years ago

Did you run npm install?

On Wed, Feb 6, 2013 at 1:56 AM, Marc notifications@github.com wrote:

Getting no script editor (in any project) in the latest build: [image: 2013-02-06_1051]https://f.cloud.github.com/assets/498834/130954/f89caccc-7042-11e2-9a14-855795c410c8.png

The only error I can see in scripted.log (which I can't attach here) is: Error in request for '/jsdepend/getContents?args=%5B%22G%3A%2FWork%2FJavaScript%2Fentity%2Fcrafty%2Fentities.js%22%5D': Error: ENOENT, open 'G:\Work\JavaScript\entity\crafty\entities.js'

While the file is missing, it's also not referenced AFAIK - my .html references a ./scripts/entities.js and not ./entities.js

— Reply to this email directly or view it on GitHubhttps://github.com/scripted-editor/scripted/issues/184.

cawoodm commented 11 years ago

Just did and it helped not a bit. I assume I don't have to do -g?

cawoodm commented 11 years ago

Oooh, ooh! I clicked through the new icons (top left) and "Toggle Side Panel" did it for me. Not sure why one would want to toggle the whole editor though nor why it's hidden by default.

Anyhoo. Now, if I close the subeditor I get a blank screen again and also the left (main) editor is a bit short.

2013-02-06_2002

Living on the edge...

cawoodm commented 11 years ago

OK, noticed the editor was at the bottom of the screen. Resizing the left navigation slightly smaller brings it up. It could be that you guys need to adjust the css by a pixel or two to get things to float correctly.

aclement commented 11 years ago

I played a bit on windows and couldn't get anything weird to happen. The 'short editor' problem in your previous screenshot, that just looks like you have the exec console open, which you can do just by clicking the console button. If you have no command output it will appear just like that, a blank pane with scroll bar.

cawoodm commented 11 years ago

Try at a zoom level of 110%

http://screencast.com/t/AUkU2Z9f

aclement commented 11 years ago

As I was adjusting some styling the other day, it did feel like I might be breaking zoom. Let's reopen and use this bug to address that (if we can).

cawoodm commented 11 years ago

It seems zooming is not a good idea in general and the editor gets confused about what line you're on when you, say, double click a word it will select the line above at zoom 90%.

cawoodm commented 11 years ago

OK the original bug is reproducible at a zoom of 90%, 110% and 150% in Chrome 24 under Windows z (1024x768).

cawoodm commented 11 years ago

Looking like it's fixed in the latest build. And I'm DIGGING the new Toggle Navigation button :+1: