-
Notifications
You must be signed in to change notification settings - Fork 14
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
The comparison function doesn't work #25
Comments
There might be some conflicts with another extension. try to disable the others and see. |
I have the same issue. You click the icon and the new pane appears empty. I have disabled all other extensions and the issue remains. |
Yes. I have the exact same problem. Too bad. I don't see any other extension that can be used to compare. |
Same issue. Doesn't highlight even with all other extensions disabled. |
confirming +1 |
Looking into this. what versions of brackets are you guys using? |
I'm using the latest version: 1.6. |
I am using Release 1.6 build 1.6.0-16680. |
same issue on version1.6 |
Release 1.6 build 1.6.0-16680 (release 3df0ac6fa) |
Same here, same release as ZDProject. Tried with all other extensions disabled as well, but it won't work. |
tl;dr: probably won't fix I was having the same issue. Clicking the compare button doesn't do anything. Disabled all other extensions, didn't help too. Here is the error in the javascript console that is logged when I click the Compare button:
Using Brackets Release 1.7 build 1.7.0-16898 (release b0a363b71). When debugging the main.js of this extension (brackets-compare), it seems that mFile and oFile in lines 94-127 are not null, but their _contents property is null. This is because of this code in Brackets:
That means that this extension won't work unless you select the directory where the files are located. Users need to click "Open Folder" in the left pane of Brackets, and select the files to compare from that folder only. |
For further clarification, the does not work on files in subfolders of the selected folder. As @j3qq4 describes, you must first "Open folder ..." and select the folder that directly has the files to compare. This makes is good for single files but not for projects. Even with single files, it would be helpful to be able to compare files from different directories. (not being an 'extensions developer', I am not sure how difficult this will be) |
hey guys, I've released v 0.2.5. Please update and see if issues are fix. |
latest version is 0.2.6, Should fix all issues. |
Well I'm now on 0.2.7 and it still doesn't work unfortunately. |
what issue are you getting? |
It simply doesn't do anything. Doesn't compare. I have updated to all the latest versions. On 23. Juli 2016 at 15:02:19, Hubert Boma Manilla ([email protected](mailto:[email protected])) wrote:
|
@SkellyCT you should press F12 to see if there are any error in the javascript console. |
Just in case it helps someone else in the future, I had to save the files first before the comparison plugin worked. IE, you can't just copy paste stuff into an unsaved file and click diff icon. |
There's not any highlights and comments concerning the difference between two HTML files.
Is this some kind of bug or just that I use it the wrong way?
The text was updated successfully, but these errors were encountered: