https://github.com/frehu/abap-snippets
Visual Studio Code snippets for ABAP
https://github.com/frehu/abap-snippets
Last synced: about 1 year ago
JSON representation
Visual Studio Code snippets for ABAP
- Host: GitHub
- URL: https://github.com/frehu/abap-snippets
- Owner: FreHu
- License: unlicense
- Created: 2018-10-26T05:23:05.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-09-30T17:17:30.000Z (over 6 years ago)
- Last Synced: 2025-02-13T08:54:07.509Z (over 1 year ago)
- Size: 13.7 KB
- Stars: 5
- Watchers: 4
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Readme
Code snippets to speed up writing of ABAP.
https://marketplace.visualstudio.com/items?itemName=frehu.abap-snippets
Currently included:
Borrowed from other languages:
- bool = abap_bool
- true = abap_true
- false = abap_false
- var = inline data declaration
- nameof = name of current class (file)
- self, this = me->
Types:
- trt = type ref to
- tt, ttt, tst, tht = table type definitions
- tbo = structure type definition (types begin of)
- enum = enum definition
- alias
Methods:
- imp, exp, cha, ret = importing, exporting, changing, returning value
- meth = empty method body
- gwt = empty unit test with given/when/then sections
- ctor, cctor = constructor, class_constructor definition
Other:
- ro = read-only
- ii = is initial
- ini = is not initial
- ib = is bound
- inb = is not bound
- inh = inheriting from
- class = empty class definition + implementation
- if
- trycatch
- loop = loop into data
- loopfs = looping into field symbol
- cond
- for = for expression
- forw = for expression with where condition
- val = value constructor
- case
- ass = cl_abap_unit_assert=>
- throw = raise exception new