brackets-archive / bracketsIssues

Archive of issues in brackets.
0 stars 0 forks source link

Removing inline function parenthesis, itself removing right side parenthesis also #13874

Open core-ai-bot opened 3 years ago

core-ai-bot commented 3 years ago

Issue by ekodikara Tuesday May 30, 2017 at 08:11 GMT Originally opened as https://github.com/adobe/brackets/issues/13399


I am using brackets for editing java script. Lets say we have to log some function's value in console. We use something like this. console.log(myFunctionName()); .But when I remove function right and left parenthesis by pressing back button from the key board again itself it removed right parenthesis of the console.log function. console.log(myFunctionName;

Steps to Reproduce

  1. set cursor between myFunctionName() end of console log parenthesis like - > console.log(myFunctionName()|)
  2. Press back key two times to remove the parenthesis.

Expected behavior: Remote last three (3) parenthesis

Actual behavior: no need to remove console.log end parenthesis

Versions

OS Windows - 10 (64bit) Version of Brackets - Release 1.9 build 1.9.0-17312 (release 189f6d39a)

bracket

core-ai-bot commented 3 years ago

Comment by Badestrand Wednesday May 31, 2017 at 08:56 GMT


Expected behavior: Remote last three (3) parenthesis

Wouldn't the expected behaviour be that only two paranthesis behind myFunctionName get removed?

core-ai-bot commented 3 years ago

Comment by ekodikara Wednesday May 31, 2017 at 09:00 GMT


Yes. Just need to remove the myFunctionName parenthesis but it removes console.log right side parenthesis also.