-
Notifications
You must be signed in to change notification settings - Fork 0
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] Themes in Brackets core #6857
Comments
Comment by MarcelGerber All used strings should be localized. And btw, Travis failed (because of missing JSLint comments). |
Comment by MiguelCastillo Yeah, there are a few items in my list for code cleanup and integrate with what brackets already has. I think that by tomorrow or friday, code will be more inline with what we all expect :) |
Comment by MiguelCastillo Love how quickly you guys are providing feedback! Its awesome |
Comment by dangoor For some added context for those tuning in to this pull request right now: I asked Miguel if he could convert his extension into a pull request against core as something that we could begin discussing and also so that it was possible for it to load themes as extensions, which is not possible in an extension today. I added (REVIEW ONLY) because there's definitely more coming before this feature lands. |
Comment by MiguelCastillo Alright, I think we are at a point where feedback would be great. Themes code is fully integrated into Brackets. I created a theme that is already in the Extension Registry. The theme has to have a main.js or the registry wouldn't allow me to load it. So, we might need to adjust something there. This is the git link for the theme also I am going to evaluate inline editor and mixin support. adobe/brackets#4850 |
Comment by MarcelGerber https://github.com/adobe/brackets/wiki/Brackets-Coding-Conventions |
Comment by MiguelCastillo So, pretty much all the feedback has been stylistic/convention. I will read the coding conventions guide; thanks This is all fantastic, but I am really looking more for feedback regarding the code itself. I am touching stuff in ExtensionLoader.js and ExtensionManager.js. And to be honest, opinions asides, it's far more important that all that stuff functions correctly and I am not introducing regressions; I can easily remove the white spaces later and what not later. |
Comment by MiguelCastillo
|
Comment by TomMalbran I wanted to test this PR, but it isn't working for me. I am on the. Brackets fails while loading and doesn't even show any errors in the console, so I don't know where it fails. It loads the menus, the UI and then it crashes. Neither the project or the extensions are loaded, so somewhere before that it breaks. Not sure if the same happens to you. One other thing. You are merging from master, but it might get easier to merge from a branch in your repo. |
Comment by MiguelCastillo
Hmmm, I am really looking for better way to manage this merging process. I have a PR from a clone. What other way do you think would be better? Please help on this front :D |
Comment by TomMalbran I am still a bit a noob in Git, so I am not sure how you could move your changes in master to a branch. The How to Hack on Brackets wiki has some basic info on working in branches and a clone of the brackets repo: https://github.com/adobe/brackets/wiki/How-to-Hack-on-Brackets |
Comment by MarcelGerber
The only thing that wouldn't be bad would be to update to the current master.
It could be that there are merge conflicts (e.g. zaggino's Check for extension updates). |
Comment by MiguelCastillo
|
Comment by MiguelCastillo
|
Comment by MarcelGerber I don't even know what grunt does to be honest :) You have to ask someone else. Ah btw, before you push the changes, better test everything locally. It's easier to revert there. |
Comment by TomMalbran If there is a way to make this into a branch it might be better, since you don't need to keep updating the master branch. Grunt uses JSHint to lint (instead of JSLint used in Brackets) which I think that isn't showing those errors. But if you open any file in Brackets with JSLint enabled, you will see all the spascing errors. |
Comment by MarcelGerber
|
Comment by TomMalbran Is not really a problem to create a new PR (we can point to the old PR if required), my point is mostly about moving the changes made in master to that branch. |
Comment by MiguelCastillo
|
Comment by MiguelCastillo Let me rebase as |
Comment by TomMalbran It is weird. I am not sure why they had JSHint as the linter in Grunt and not JSLint (maybe there wasn't an npm package for JSLint at that point, or there was a problem with it). But JSHint from grunt is configured to work like JSLint, but it is not exactly the same. We will eventually move to use JSHint in Brackets too, so that will fix this discrepancy. For now, check your files against JSLint in Brackets and fix the issues. We have to manually check that when reviewing PR. |
Comment by MiguelCastillo
|
Comment by MiguelCastillo
|
Comment by MiguelCastillo
|
Comment by MiguelCastillo
|
Comment by TomMalbran No. It still doesn't work :( |
Comment by MiguelCastillo Odd! I have it running right now. I merged latest code from master, so I guess that was not it. You can't get a stacktrace I am assuming? |
Comment by dangoor This past weekend was pretty full for me... sorry to have missed all of the comments! It is possible to move your work to a branch and then reset your master to a point back before you started working on the themes integration... that would likely do crazy things for anyone who may have cloned your code, but that's not too bad. But, you would have to start a new pull request. If you're not itching to get something else going on your master branch, it seems like you're best off continuing this PR for a bit longer until things have settled enough to create a new PR (probably with a flattened history). I'll take a preliminary look through the code now. |
Comment by dangoor This is shaping up nicely. One more general comment: we don't tend to use as many small files. I think you can likely combine some into larger logical units. |
Comment by MiguelCastillo Sorry folks, I have been a bit absent... Work stuff has been keeping me busy. |
Issue by MiguelCastillo
Thursday Apr 24, 2014 at 01:08 GMT
Originally opened as adobe/brackets#7616
Initial commit. A few items remain to be done, but themes are now fully functional as a core component so you can start testing this out.
https://github.com/adobe/brackets/wiki/Themes
MiguelCastillo included the following code: https://github.com/adobe/brackets/pull/7616/commits
The text was updated successfully, but these errors were encountered: