Skip to content
This repository has been archived by the owner on Mar 6, 2023. It is now read-only.

[WIP] Add support for JSON/Bash in heredocs #161

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

blckct
Copy link

@blckct blckct commented Sep 5, 2018

Here's my first attempt at solution I proposed in #93. It seems to work but is not properly integrated with existing languageinjector as I didn't want to brake too many things at once.

@blckct blckct force-pushed the multi_host_injection_support branch 3 times, most recently from 9f133f2 to 0999973 Compare September 5, 2018 00:23
return

val rangeSet = TreeRangeSet.create<Int>()
rangeSet.remove(Range.open(5, 10)) // splits [1, 10]; {[1, 5], [10, 10], [11, 20)}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like some debugging

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Touche. A leftover from a copy/paste from example. Fixed.

@VladRassokhin
Copy link
Owner

Thank you for contribution, I'll take a look. Though I've idea of applying 'template language' support here (treated in special way by IntelliJ).

@blckct blckct force-pushed the multi_host_injection_support branch from 0999973 to be80eb7 Compare September 5, 2018 17:25
@blckct
Copy link
Author

blckct commented Sep 5, 2018

If you have a better idea that's great, this approach would require further work so a different one may be easier to implement or maintain.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants