brackets-userland / brackets-electron

An open source code editor for the web, written in JavaScript, HTML and CSS.
http://brackets.io
MIT License
81 stars 8 forks source link

Opening a file/folder with Brackets Electron opens a new instance of the application every time #101

Open DevKishan opened 6 years ago

DevKishan commented 6 years ago

Prerequisites

[Description of the bug or feature] File/Folder -> Right Click -> Open With Brackets Electron opening new instance of this application every time. Ideally it should open the file in current active instance but instead of that it creates a new instance.

Versions

Release 1.10 experimental build 1.10.3 (master 4d0304186) [Please include the OS and what version of Brackets-Electron you're running.] OS : Linux Mint 18.3 Cinnamon Bracket Electron: Release 1.10

Steps to Reproduce

  1. Right click on a file
  2. Open with bracket electron
  3. A new window opens.
  4. Right click on another a file
  5. Open with bracket electron
  6. Instead of using already opened window of bracets electron, new window of brackets electron is created. Expected behavior: [What you expected to happen] New file/folder should open in the same window instead of new one. Actual behavior: [What actually happened] New file/folder are being opened in new window.