Started By
Message

Anyone here use Brackets for making websites?

Posted on 8/30/20 at 1:08 pm
Posted by omegaman66
greenwell springs
Member since Oct 2007
24825 posts
Posted on 8/30/20 at 1:08 pm
I use an ancient program and it doesn't have any of the newer features that I want but can live without. I am not a professional, just do my own website.

I am trying to use Brackets and have a few issues that I can't get past.

The first hurdle comes right out of the box. when I open an html file it doesn't show in the working files panel.

I have Tabs installed to try to fix this and the html files open with a tab only if I doulbe click them. Php files never open with a tab for them.

Most of my files are php files. This issue means the program is unusable for me since I am unable to work on more than one file at a time. Well I can but they stack on top of each other with no way to quickly get to the ones that are covered up.

I see yt video of people opening files and they show in the working files panel at the top right. I have uninstalled and reinstalled and I still can't see my working files.

[feebly] help?
Posted by Korkstand
Member since Nov 2003
28997 posts
Posted on 8/30/20 at 2:01 pm to
I haven't used Brackets in years, so I don't really have any tips for it, but have you tried VS Code?
Posted by omegaman66
greenwell springs
Member since Oct 2007
24825 posts
Posted on 8/30/20 at 2:33 pm to
I will look into it. Have heard of it but know nothing about it..... yet.
Posted by omegaman66
greenwell springs
Member since Oct 2007
24825 posts
Posted on 8/30/20 at 3:55 pm to
When I open a php file it opens fine. When i open a second php file it closes the first one. This does not happen with html files. I need to have many files open at one time.
Posted by Korkstand
Member since Nov 2003
28997 posts
Posted on 8/30/20 at 4:55 pm to
If you single-click a file in the file explorer pane, it opens the file in preview mode (notice the filename in the tab bar is italicized). This is so you can click around files until you find what you're looking for without crowding up your workspace. To really open the file, double-click it. Then it will stay open and you can open as many more as you want.

At least I think that's what's happening. I have never seen VSCode behave differently by file extension.
Posted by omegaman66
greenwell springs
Member since Oct 2007
24825 posts
Posted on 8/30/20 at 6:01 pm to
Thank you every so much!!!

I had VS code on a short leash after the headache I have been going through with Brackets.

I glad I didn't make a bet. I could have sworn what you described was not the case, but I checked it anyway. And why to you know. You were right. Thanks ever so much!!!

Posted by Korkstand
Member since Nov 2003
28997 posts
Posted on 8/30/20 at 6:48 pm to
No problem, and I hope you like VS Code as much as I do. It is very popular, and I really have only read and experienced great things with it.

I don't write php, but I know that many php devs use it and I see tons of php extensions in the marketplace (press the "building blocks" icon in the toolbar). There are also tons of WordPress extensions if that's what you're using.

And if it being Microsoft bothers you at all, you can get VSCodium instead. It pulls straight from the VSCode repository and strips out the Microsoft telemetry and settings.
Posted by omegaman66
greenwell springs
Member since Oct 2007
24825 posts
Posted on 8/30/20 at 8:43 pm to
It is powerful that is for sure. If I can figure out which code name corresponds with what colors it changes and I can customize the look how i want then that will help sell me on it. But so far so good.

Most of my site is just html but use php to harness some of its abilities. Mainly use php for php.includes so i can deliver one piece of code to any web page. Edit one file to change an ad code or a banner.

No wordpress or any other cms. All my code.
Posted by Fat Batman
Gotham City, NJ
Member since Oct 2019
1555 posts
Posted on 8/31/20 at 8:45 am to
There are a plethora of VSCode themes out there, just Google "VSCode Themes". You even get a handful with the install File>Preferences>Color Theme. If you really want to you can make your own theme and change each color to your liking, but that seems like a lot of work and a waste of time given that with so many themes already out there, someone has to have already made one that suits your preferred aesthetic.
Posted by omegaman66
greenwell springs
Member since Oct 2007
24825 posts
Posted on 8/31/20 at 9:32 am to
None out there that I have seen are what I want. I want a white background. That is easy to find even though it is uncommon.

I want the tag such as div href etc to be white text with a dark blue background.

I haven't found any themes that do that if it is even possible to change the background only behind certain elements.
Posted by Fat Batman
Gotham City, NJ
Member since Oct 2019
1555 posts
Posted on 8/31/20 at 10:35 am to
Yeah, that's a pretty specific and unusual aesthetic. It might be possible, you just need to find which (if any) selector controls that. You can locate lists of selectors by searching Google or in the VSCode docs. If your reasoning for that aesthetic is higher contrast text, I would recommend looking into a dark background or "dark" theme.
Posted by omegaman66
greenwell springs
Member since Oct 2007
24825 posts
Posted on 8/31/20 at 11:34 pm to
The color scheme isn't a problem. No biggie.

I love that I can search for a string in all of my project folders at once. In my old program I had to do each folder individually.

I haven't found a way to map keystrokes to things like break tags or div etc. yet!
Posted by Fat Batman
Gotham City, NJ
Member since Oct 2019
1555 posts
Posted on 9/1/20 at 8:01 am to
quote:

I haven't found a way to map keystrokes to things like break tags or div etc. yet!


I use AutoHotkey for this, LINK. Pretty much endless possibilities on what you can make your keyboard shortcuts do with it.
Posted by omegaman66
greenwell springs
Member since Oct 2007
24825 posts
Posted on 9/1/20 at 12:51 pm to
Thanks, I actually found that program last night, but have not installed it. It us encouraging to here that someone else thinks it might be a viable option and not a piece of garbage.
Posted by omegaman66
greenwell springs
Member since Oct 2007
24825 posts
Posted on 9/1/20 at 1:10 pm to
Damn phone!
This post was edited on 9/1/20 at 1:12 pm
Posted by Fat Batman
Gotham City, NJ
Member since Oct 2019
1555 posts
Posted on 9/1/20 at 1:46 pm to
In case you decide to use it, this should get you headed in the right direction generating tags. Here is what my function looks like for div tags. It can be recycled for any tag really just make sure to change the "hotkey" so none of them use the same one. If you want the closing tag to stay on the same line as the opening tag (like with span or something) then removing the second "Send" line should work.



Note: this relies on VSCode to autocomplete the closing tag. This is why the function Sleeps for 250ms. If you are having issues with the function make sure you are in an HTML doc, the autocomplete feature is on in VSCode or up the sleep time to 500ms, test it out, then gradually lower the milliseconds until you reach the fastest speed that works consistently.

I'd also recommend setting your hotkey script up to run automatically on startup so you don't have to remember to start it each time you start the computer up.
Posted by omegaman66
greenwell springs
Member since Oct 2007
24825 posts
Posted on 9/1/20 at 2:13 pm to
Thanks. I am going to install the program now!
Posted by omegaman66
greenwell springs
Member since Oct 2007
24825 posts
Posted on 9/1/20 at 4:18 pm to
Installed it. Glad I did. Not a trashy program at all. Works great!

VS Code is very cool. Has lots of stuff I will never use since I haven't done any computer programming in decades.

Have it pretty customized now so my php files are treated like html files for error checking etc. With extensions I am now able to beautify and minimize the code without going to online pages to do that then have to replace the code and upload it.

Happy.

Thanks for all the help.
This post was edited on 9/1/20 at 7:19 pm
Posted by Korkstand
Member since Nov 2003
28997 posts
Posted on 9/1/20 at 4:36 pm to
VS Code might be the best thing Microsoft has done in its entire existence.
Posted by UltimaParadox
North Carolina
Member since Nov 2008
47254 posts
Posted on 9/2/20 at 8:50 am to
quote:

VS Code might be the best thing Microsoft has done in its entire existence


VS Code is nice... but does not hold a candle to the full Visual Studio IMO.
first pageprev pagePage 1 of 2Next pagelast page

Back to top
logoFollow TigerDroppings for LSU Football News
Follow us on X, Facebook and Instagram to get the latest updates on LSU Football and Recruiting.

FacebookXInstagram