-
Notifications
You must be signed in to change notification settings - Fork 279
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
Add Bramble API for toggling whitspace view, part of mozilla/thimble.mozilla.org#1763" #664
Conversation
@tonypark0403 can you please Edit (there's a button at the top) this PR's topic line so that it says more than "Thimble issue1763"? I'd suggest, "Add Bramble API for toggling whitspace view, part of https://github.com/mozilla/thimble.mozilla.org/issues/1763" |
Also, is this ready for a review? If so, let me know. |
Hi @tonypark0403 this is coming along great! I left a couple of comments in the Thimble side of this PR mozilla/thimble.mozilla.org#1914 |
@@ -44,8 +44,8 @@ define(function (require, exports, module) { | |||
|
|||
// --- Settings --- | |||
|
|||
var commandID = "denniskehrig.ShowWhitespace.toggle"; | |||
var preferencesID = "denniskehrig.ShowWhitespace"; | |||
var commandID = "allowWhiteSpace.toggle"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@humph does this also require turning off whatever "denniskehrig.ShowWhitespace" is in some other part of the code? (extension loader or some other place?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Pomax , I am testing, I will replace it again.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd like to see these strings get changed back to "denniskehrig.ShowWhitespace"
and ""denniskehrig.ShowWhitespace.toggle"
, since we're using someone else's code, it seems odd to just write them out of the picture here.
These are defining the namespace for the extensions prefs and command id, and this is the only place where they get defined. Elsewhere we'll need to use them in order to call the code.
@tonypark0403 #678 is another PR doing similar work, if you want some advice about maintaining your state. @hkirat has got it working. |
I checked every files you recommended then I couldn't figure out what was different from what I did. That's why now I deleted my repository and re-forked from upstream. I think I need more training for git and work together since my previous one had a lot of error even mozilla chat said just re-pull and restart again, which is very good for me because I was trained to implement code by instruction but this time no instruction...... |
OK, let us know if you still need help. I think you're very close to getting this. |
And re pull and restart......... I did it more than 10 times and every time it showed me different coding position that made me confused a lot. |
And can you resend about the mail you mentioned on Tuesday? I cannot find the mail. |
See my comment #588 (comment) |
I am not asking about resetting bramble but rebating or keeping uptodate files. |
If you have a branch,
In this case you don't need to do an interactive rebase (that's what If you get yourself into a lot of trouble in git, and need to correct a mess, another thing you can do is to cherry-pick specific commits onto a new branch from the old one. |
This is closed and this is the new PR. |
Refer : thimble-issue-1763
Implemented white-space-indicator