| Summary: | "Extract Method" refactoring support | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Technology] DLTK | Reporter: | Vladislav Kuzkokov <vladislav.kuzkokov> | ||||||||||||
| Component: | JavaScript | Assignee: | dltk.common-inbox <dltk.common-inbox> | ||||||||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||||||||
| Severity: | normal | ||||||||||||||
| Priority: | P3 | CC: | alex.panchenko | ||||||||||||
| Version: | unspecified | ||||||||||||||
| Target Milestone: | --- | ||||||||||||||
| Hardware: | All | ||||||||||||||
| OS: | All | ||||||||||||||
| Whiteboard: | |||||||||||||||
| Attachments: |
|
||||||||||||||
|
Description
Vladislav Kuzkokov
Created attachment 184233 [details]
implementation
Significant part is data/control flow analysis.
Not all use-cases I could think of are addressed in this patch.
Applied. Thanks Created attachment 184337 [details]
Support for optional types
Refactoring now defines parameter and return types if possible.
Created attachment 184581 [details]
fix
Adds next line before new method definition.
Fixed bordercase in control flow analysis.
Created attachment 184582 [details]
fix
Created attachment 184609 [details]
closures
Adds a warning if there's a variable captured by closure so that refactoring may change semantics.
|