Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 333191 - "Inline method" support
Summary: "Inline method" support
Status: CLOSED WONTFIX
Alias: None
Product: DLTK
Classification: Technology
Component: JavaScript (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: dltk.common-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-24 07:19 EST by Vladislav Kuzkokov CLA
Modified: 2020-01-03 07:53 EST (History)
0 users

See Also:


Attachments
implementation (243.33 KB, patch)
2010-12-24 10:40 EST, Vladislav Kuzkokov CLA
no flags Details | Diff
fixed implementation (253.28 KB, patch)
2010-12-27 10:28 EST, Vladislav Kuzkokov CLA
no flags Details | Diff
Parenthesizing and JSDocs (1.04 MB, patch)
2010-12-29 09:55 EST, Vladislav Kuzkokov CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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