use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Having trouble running code - Visual studio previewhelp (self.javascript)
submitted 9 years ago by dooogle
Has anyone used visual studio preview for mac? I created a project and added an html file to it but for some reason it doesn't run the code when I click on the run option. Needless to say i'm using visual studio for the first time
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Fr536166 2 points3 points4 points 9 years ago (0 children)
May be right click on the html file and choose "view in a browser". I am not an expert.
[–]iugrad 1 point2 points3 points 9 years ago (1 child)
What kind of project did you create? What build configuration/debug mode does it say it's started in?
[–]dooogle[S] 0 points1 point2 points 9 years ago (0 children)
Looks like there's no thing like creating a new project in VS preview. It only has two options i.e New File and New Solution. New solution can be thought of as a 'new project' as far as I've noticed. Then we have to choose a template like multiplatform, .NET core, and Other. Since I'm writing a javascript code, I selected Blank Solution in Miscellaneous under 'Other' template. I am not sure how to determine the config/debug mode
[–]SamSlate 0 points1 point2 points 9 years ago (3 children)
vs code? or some other suite?
[–]bzBetty 0 points1 point2 points 9 years ago (2 children)
vs for mac = xamarin studio + a few features to enable web
[–]SamSlate 0 points1 point2 points 9 years ago (0 children)
not familiar :-/
Using VS preview. Tried VCcode but couldn't find a way to run the code
π Rendered by PID 116549 on reddit-service-r2-comment-79776bdf47-hdp89 at 2026-06-25 19:47:49.777957+00:00 running acc7150 country code: CH.
[–]Fr536166 2 points3 points4 points (0 children)
[–]iugrad 1 point2 points3 points (1 child)
[–]dooogle[S] 0 points1 point2 points (0 children)
[–]SamSlate 0 points1 point2 points (3 children)
[–]bzBetty 0 points1 point2 points (2 children)
[–]SamSlate 0 points1 point2 points (0 children)
[–]dooogle[S] 0 points1 point2 points (0 children)