Comments (4)
Hi Josh,
yes, those chain colons are a bit of a pain, because you could have them in any place, making cleanup rules' lives more difficult! E.g., you might have
ADD 1 TO: lv_any,
lv_other.
But I admit that MOVE: could be a particularly common finding, so I guess it is worth enhancing the "Replace obsolete MOVE …" rule accordingly (even if the "Unchain" rule is deactivated).
Kind regards,
Jörg-Michael
from abap-cleaner.
It works correctly if the rule "Unchain into multiple statements" is active too:
Interesting, I am using that rule and that wasn't my experience. However I looked and this particular setting was not on:
Once that is enabled it does work. Even with that said, because this is an obsolete statement I think the default behavior of the "Replace obsolete MOVE …" rule should also handle this.
from abap-cleaner.
It works correctly if the rule "Unchain into multiple statements" is active too:
from abap-cleaner.
Hi Josh,
this new option is now available with version 1.3.0!
So MOVE: chains can now be replaced even if "Unchain into multiple statements" is deactivated.
Kind regards,
Jörg-Michael
from abap-cleaner.
Related Issues (20)
- Unused Varables TODO for message HOT 8
- Feature Request: Replace REPLACE with replace() HOT 1
- Feature Request ASSERT ... FIELDS HOT 2
- short dump in ATC after READ TABLE replacement HOT 5
- Wrong alignment in editor, although everything looks great in ABAP cleaner HOT 2
- Comments go wild ;-) HOT 1
- False positive for variable is assigned but never used HOT 2
- Feature request: remove CREATE PRIVATE/PUBLIC when ABSTRACT HOT 3
- [BUG] Error in case of CLASS DEFINITION DEFERRED HOT 2
- higher verisions are not reflected HOT 1
- Feature Request: Settings Option - Automatic Source Code Formatting on Save HOT 1
- [BUG] ABAP Cleaner doesn't detect variable is changed in code and changes it to final HOT 2
- Replacement of TRANSLATE and CONDENSE does not work with macro placeholders HOT 2
- Shorter field names are not aligned in WHERE conditions HOT 2
- Bug: Variable use in CONVERT DATE ... TIME ZONE <here> not recognized HOT 5
- Preferences ABAP Cleaner HOT 3
- Feature Request: No line between DATA declaration of a table and initialization HOT 4
- Store the ABAP release in custom profile HOT 4
- New ABAP cleaner release not found by Eclipse HOT 3
- Bug: Rule "Use String Templates to assemble Text" can not handle line breaks HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from abap-cleaner.