Skip to content

Conversation

@DVDAndroid
Copy link
Contributor

No description provided.

DVDAndroid added 3 commits May 7, 2017 15:43
Something not working @l58
Workaround for Kotlin. It gets the first char of a class (first index);
it checks if before the class name there's another char, if true skip
this line; calculates the used lenght, adding to the first index, the
length of class name, plus a special char (like . (  ). At the end it
checks if the substring matches with a valid usage of class name, so
replace it with the URL.

PROS: it works.
CONS: if exists a string with " Main(", the workaround detects it like a
code line.
@droidchef
Copy link
Owner

Till we are not sure that it isn't breaking anything let's not merge this in. I'd rather not provide support for something than to add error prone code in production.

I like your Settings page though, if you'd like to send that as a PR.

Also, please make sure you squash your commits, as it helps keep the git history clean and reviews are much more easier.

@DVDAndroid DVDAndroid changed the title Kotlin support [WIP] Kotlin support May 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants