Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 333191

Summary: "Inline method" support
Product: [Technology] DLTK Reporter: Vladislav Kuzkokov <vladislav.kuzkokov>
Component: JavaScriptAssignee: dltk.common-inbox <dltk.common-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
implementation
none
fixed implementation
none
Parenthesizing and JSDocs none

Description Vladislav Kuzkokov CLA 2010-12-24 07:19:32 EST
Build Identifier: 

"Inline method" functionality like in JDT:
 - Inline selected invocation
 - Inline all invocations and (optionally) remove declaration

Reproducible: Always
Comment 1 Vladislav Kuzkokov CLA 2010-12-24 10:40:28 EST
Created attachment 185809 [details]
implementation
Comment 2 Vladislav Kuzkokov CLA 2010-12-27 10:28:42 EST
Created attachment 185842 [details]
fixed implementation

fixes variable lookup in some cases
removes call when it didn't
Alt+Shift+I shortcut
Comment 3 Vladislav Kuzkokov CLA 2010-12-29 09:55:06 EST
Created attachment 185877 [details]
Parenthesizing and JSDocs

Adds parentheses as appropriate when inlining.
Adds jsdoc to model.
Comment 4 Dawid Pakula CLA 2020-01-03 07:53:18 EST
JavaScript support has been removed