Comments (22)
"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)
from brackets-compare.
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.
from brackets-compare.
There might be some conflicts with another extension. try to disable the others and see.
from brackets-compare.
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.
from brackets-compare.
Yes. I have the exact same problem. Too bad. I don't see any other extension that can be used to compare.
from brackets-compare.
Same issue. Doesn't highlight even with all other extensions disabled.
from brackets-compare.
confirming +1
from brackets-compare.
Looking into this. what versions of brackets are you guys using?
from brackets-compare.
I'm using the latest version: 1.6.
from brackets-compare.
I am using Release 1.6 build 1.6.0-16680.
from brackets-compare.
same issue on version1.6
from brackets-compare.
Release 1.6 build 1.6.0-16680 (release 3df0ac6fa)
Thanks for taking care of this. Let me know if I should provide additional information.
from brackets-compare.
Same here, same release as ZDProject. Tried with all other extensions disabled as well, but it won't work.
from brackets-compare.
I had the same issue...nothing changed when I clicked compare. I disable the only other extension I had installed (Extract for Brackets) and now when I click the compare button it opens in a full white screen where I can see a little bit of code but completely unusable.
from brackets-compare.
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:
/thirdparty/CodeMirror/lib/codemirror.js:187 Uncaught TypeError: Cannot read property 'first' of null
Display @ /thirdparty/CodeMirror/lib/codemirror.js:187
CodeMirror @ /thirdparty/CodeMirror/lib/codemirror.js:74
CodeMirror @ /thirdparty/CodeMirror/lib/codemirror.js:62
CodeMirror.MergeView @ cm_merge.js:471
CodeMirror.MergeView @ cm_merge.js:439
(anonymous function) @ main.js:116
switchCompareMode @ main.js:56
(anonymous function) @ main.js:111
n.event.dispatch @ thirdparty.min.js:20
r.handle @ thirdparty.min.js:20
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:
// Only cache data for watched files
if (watched) {
this._stat = stat;
this._contents = data;
}
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.
from brackets-compare.
hey guys, I've released v 0.2.5. Please update and see if issues are fix.
from brackets-compare.
latest version is 0.2.6, Should fix all issues.
from brackets-compare.
Well I'm now on 0.2.7 and it still doesn't work unfortunately.
from brackets-compare.
what issue are you getting?
from brackets-compare.
It simply doesn't do anything. Doesn't compare. I have updated to all the latest versions.
I have two documents open but when I click on the compare icon nothing happens. I used existing long ones and tried new short ones to test. Nothing.
On 23. Juli 2016 at 15:02:19, Hubert Boma Manilla ([email protected](mailto:[email protected])) wrote:
what issue are you getting?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub(#25 (comment)), or mute the thread(https://github.com/notifications/unsubscribe-auth/ARim1-M5PD4wJYMnNZ4YiWF-22Ly-TtGks5qYhDbgaJpZM4IV9-J).
from brackets-compare.
@SkellyCT you should press F12 to see if there are any error in the javascript console.
from brackets-compare.
@SkellyCT Ur probably getting a specific issue. pls could you press F12 as mention by @j3qq4, and let me know so i can fix it up for you. thanks!!
from brackets-compare.
Related Issues (20)
- Add support for Brackets Themes HOT 1
- newer one won't install right HOT 3
- No diff button shows up on the right toolbar HOT 2
- Add save feature HOT 4
- Not able to install this extention in brackets.Getting error HOT 4
- hey there...found a bug HOT 2
- blinding colors, barely legible HOT 7
- Fails when files have no extension
- It does not save or update the changes I made HOT 1
- ability to ignore whitespace HOT 1
- displaying issues HOT 3
- Revert Chunk in GAP doesnt work
- Cannot save changes made in diff view HOT 4
- Limit of lines
- Console deprecated warning: Use brackets.getModule("thirdparty/CodeMirror/lib/codemirror") instead of global CodeMirror.
- Can someone please give clear instructions on how to install this plugin? HOT 1
- Can't change files or close Brackets-compare HOT 4
- New maintainer
- Compare not working with files without extension
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from brackets-compare.