Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CLOSED] Execute local file / Use local shell #3901

Open
core-ai-bot opened this issue Aug 29, 2021 · 11 comments
Open

[CLOSED] Execute local file / Use local shell #3901

core-ai-bot opened this issue Aug 29, 2021 · 11 comments

Comments

@core-ai-bot
Copy link
Member

Issue by KuenzelIT
Thursday Jun 13, 2013 at 19:16 GMT
Originally opened as adobe/brackets#4216


Is there a possibility to execute a local file (like a sass-compiler) or use the local shell?

@core-ai-bot
Copy link
Member Author

Comment by redmunds
Thursday Jun 13, 2013 at 21:10 GMT


@olsgreen wrote a Brackets extension for LESS (https://github.com/olsgreen/BracketLESS), so you should be able to do something similar for SASS.

@core-ai-bot
Copy link
Member Author

Comment by KuenzelIT
Friday Jun 14, 2013 at 00:04 GMT


Hey, thanks.

I thought about that and looked into it. But the LESS compiler is written in javascript, so it's not a problem to call it. The Sass compiler on the opposite is written in Ruby.

@core-ai-bot
Copy link
Member Author

Comment by redmunds
Friday Jun 14, 2013 at 00:30 GMT


Brackets has a built in nodejs server, so I think you can it to run Ruby. Take a look at the brackets/src/extensions/default/StaticServer extension as an example.

@core-ai-bot
Copy link
Member Author

Comment by KuenzelIT
Friday Jun 14, 2013 at 01:20 GMT


Thank you, I'll check it out.

@core-ai-bot
Copy link
Member Author

Comment by KuenzelIT
Friday Jun 14, 2013 at 02:06 GMT


Sorry, but I couldn't get any closer with the StaticServer extension. I also looked at a lot of other files, but still didn't find anything.

Do you have another idea or could you point me to a more precise direction?

@core-ai-bot
Copy link
Member Author

Comment by jasonsanjose
Friday Jun 14, 2013 at 05:39 GMT


There's an xUnit extension that has the ability to run a shell script from the project tree, the implementation is here https://github.com/dschaffe/brackets-xunit/blob/master/node/ProcessDomain.js.

Are you looking to develop your own extension or are you requesting that we add this feature to core?

@core-ai-bot
Copy link
Member Author

Comment by KuenzelIT
Friday Jun 14, 2013 at 11:23 GMT


Thanks for the hint.

Currently I want to write a little extension to execute a batch file (for running a phone gap app), but this could also be a really nice feature in bracket's core, so yes, it's also a request.

@core-ai-bot
Copy link
Member Author

Comment by KuenzelIT
Saturday Jun 15, 2013 at 14:15 GMT


Hey again,

I finally got it to work with xunit and brackets-simple-node (https://github.com/joelrbrandt/brackets-simple-node) as templates. It's not finished, but I can execute a batch file at least.

Thanks for your help.

@core-ai-bot
Copy link
Member Author

Comment by dangoor
Monday Jun 17, 2013 at 18:06 GMT


We're working to make writing Node extensions easier. Using Node and Node's way of running external processes is definitely the easiest way to handle this kind of need.

@core-ai-bot
Copy link
Member Author

Comment by olsgreen
Sunday Jul 07, 2013 at 11:02 GMT


@d33k4y Hey, how far a long are you with a SASS extension? I did start writing support for SASS into my extension, if anyone's writing another one I'll stop work? I'm probably 70% done.

@core-ai-bot
Copy link
Member Author

Comment by KuenzelIT
Sunday Jul 07, 2013 at 12:54 GMT


Hey,
sorry but I never wrote a SASS extension, I just used that as an example (and because I made one for Notepad++).
So, keep up the good work. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant