https://kotlinlang.org logo
Join the conversationJoin Slack
Channels
100daysofcode
100daysofkotlin
100daysofkotlin-2021
advent-of-code
aem
ai
alexa
algeria
algolialibraries
amsterdam
android
android-architecture
android-databinding
android-studio
androidgithubprojects
androidthings
androidx
androidx-xprocessing
anime
anko
announcements
apollo-kotlin
appintro
arabic
argentina
arkenv
arksemdevteam
armenia
arrow
arrow-contributors
arrow-meta
ass
atlanta
atm17
atrium
austin
australia
austria
awesome-kotlin
ballast
bangladesh
barcelona
bayarea
bazel
beepiz-libraries
belgium
berlin
big-data
books
boston
brazil
brikk
budapest
build
build-tools
bulgaria
bydgoszcz
cambodia
canada
carrat
carrat-dev
carrat-feed
chicago
chile
china
chucker
cincinnati-user-group
cli
clikt
cloudfoundry
cn
cobalt
code-coverage
codeforces
codemash-precompiler
codereview
codingame
codingconventions
coimbatore
collaborations
colombia
colorado
communities
competitive-programming
competitivecoding
compiler
compose
compose-android
compose-desktop
compose-hiring
compose-ios
compose-mp
compose-ui-showcase
compose-wear
compose-web
connect-audit-events
corda
cork
coroutines
couchbase
coursera
croatia
cryptography
cscenter-course-2016
cucumber-bdd
cyprus
czech
dagger
data2viz
databinding
datascience
dckotlin
debugging
decompose
decouple
denmark
deprecated
detekt
detekt-hint
dev-core
dfw
docs-revamped
dokka
domain-driven-design
doodle
dsl
dublin
dutch
eap
eclipse
ecuador
edinburgh
education
effective-kotlin
effectivekotlin
emacs
embedded-kotlin
estatik
event21-community-content
events
exposed
failgood
fb-internal-demo
feed
firebase
flow
fluid-libraries
forkhandles
forum
fosdem
fp-in-kotlin
framework-elide
freenode
french
fritz2
fuchsia
functional
funktionale
gamedev
ge-kotlin
general-advice
georgia
geospatial
german-lang
getting-started
github-workflows-kt
glance
godot-kotlin
google-io
gradle
graphic
graphkool
graphql
graphql-kotlin
graviton-browser
greece
grpc
gsoc
gui
hackathons
hacktoberfest
hamburg
hamkrest
helios
helsinki
hexagon
hibernate
hikari-cp
hire-me
hiring
hongkong
hoplite
http4k
hungary
hyderabad
image-processing
india
indonesia
inkremental
intellij
intellij-plugins
intellij-tricks
internships
introduce-yourself
io
ios
iran
israel
istanbulcoders
italian
jackson-kotlin
jadx
japanese
jasync-sql
java-to-kotlin-refactoring
javadevelopers
javafx
javalin
javascript
jdbi
jhipster-kotlin
jobsworldwide
jpa
jshdq
juul-libraries
jvm-ir-backend-feedback
jxadapter
k2-early-adopters
kaal
kafka
kakao
kalasim
kapt
karachi
karg
karlsruhe
kash_shell
kaskade
kbuild
kdbc
kgen-doc-tools
kgraphql
kinta
klaxon
klock
kloudformation
kmdc
kmm-español
kmongo
knbt
knote
koalaql
koans
kobalt
kobweb
kodein
kodex
kohesive
koin
koin-dev
komapper
kondor-json
kong
kontent
kontributors
korau
korean
korge
korim
korio
korlibs
korte
kotest
kotest-contributors
kotless
kotlick
kotlin-asia
kotlin-beam
kotlin-by-example
kotlin-csv
kotlin-data-storage
kotlin-foundation
kotlin-fuel
kotlin-in-action
kotlin-inject
kotlin-latam
kotlin-logging
kotlin-multiplatform-contest
kotlin-mumbai
kotlin-native
kotlin-pakistan
kotlin-plugin
kotlin-pune
kotlin-roadmap
kotlin-samples
kotlin-sap
kotlin-serbia
kotlin-spark
kotlin-szeged
kotlin-website
kotlinacademy
kotlinbot
kotlinconf
kotlindl
kotlinforbeginners
kotlingforbeginners
kotlinlondon
kotlinmad
kotlinprogrammers
kotlinsu
kotlintest
kotlintest-devs
kotlintlv
kotlinultimatechallenge
kotlinx-datetime
kotlinx-files
kotlinx-html
kotrix
kotson
kovenant
kprompt
kraph
krawler
kroto-plus
ksp
ktcc
ktfmt
ktlint
ktor
ktp
kubed
kug-leads
kug-torino
kvision
kweb
lambdaworld_cadiz
lanark
language-evolution
language-proposals
latvia
leakcanary
leedskotlinusergroup
lets-have-fun
libgdx
libkgd
library-development
linkeddata
lithuania
london
losangeles
lottie
love
lychee
macedonia
machinelearningbawas
madrid
malaysia
mathematics
meetkotlin
memes
meta
metro-detroit
mexico
miami
micronaut
minnesota
minutest
mirror
mockk
moko
moldova
monsterpuzzle
montreal
moonbean
morocco
motionlayout
mpapt
mu
multiplatform
mumbai
munich
mvikotlin
mvrx
myndocs-oauth2-server
naming
navigation-architecture-component
nepal
new-mexico
new-zealand
newname
nigeria
nodejs
norway
npm-publish
nyc
oceania
ohio-kotlin-users
oldenburg
oolong
opensource
orbit-mvi
osgi
otpisani
package-search
pakistan
panamá
pattern-matching
pbandk
pdx
peru
philippines
phoenix
pinoy
pocketgitclient
polish
popkorn
portugal
practical-functional-programming
proguard
prozis-android-backup
pyhsikal
python
python-contributors
quasar
random
re
react
reaktive
realm
realworldkotlin
reductor
reduks
redux
redux-kotlin
refactoring-to-kotlin
reflect
refreshversions
reports
result
rethink
revolver
rhein-main
rocksdb
romania
room
rpi-pico
rsocket
russian
russian_feed
russian-kotlinasfirst
rx
rxjava
san-diego
science
scotland
scrcast
scrimage
script
scripting
seattle
serialization
server
sg-user-group
singapore
skia-wasm-interop-temp
skrape-it
slovak
snake
sofl-user-group
southafrica
spacemacs
spain
spanish
speaking
spek
spin
splitties
spotify-mobius
spring
spring-security
squarelibraries
stackoverflow
stacks
stayhungrystayfoolish
stdlib
stlouis
strife-discord-lib
strikt
students
stuttgart
sudan
swagger-gradle-codegen
swarm
sweden
swing
swiss-user-group
switzerland
talking-kotlin
tallinn
tampa
teamcity
tegal
tempe
tensorflow
terminal
test
testing
testtestest
texas
tgbotapi
thailand
tornadofx
touchlab-tools
training
tricity-kotlin-user-group
trójmiasto
truth
tunisia
turkey
turkiye
twitter-feed
uae
udacityindia
uk
ukrainian
uniflow
unkonf
uruguay
utah
uuid
vancouver
vankotlin
vertx
videos
vienna
vietnam
vim
vkug
vuejs
web-mpp
webassembly
webrtc
wimix_sentry
wwdc
zircon
Powered by Linen
arrow-meta
  • a

    amanda.hinchman-dominguez

    10/21/2019, 3:11 PM
    now, that makes sense. yes, all is sequential then.
    i
    • 2
    • 2
  • r

    raulraja

    10/23/2019, 11:57 AM
    https://github.com/arrow-kt/arrow/issues/1729#issuecomment-545408181
    s
    • 2
    • 1
  • r

    raulraja

    10/23/2019, 10:38 PM
    Soon we will be able to show tips about FP features to our users so they better understand the patterns and intention right in the IDE. Powered by Arrow Meta
    polymorphic_functions.mov
    🤯 1
    ❤️ 7
    f
    • 2
    • 4
  • r

    raulraja

    10/24/2019, 6:38 AM
    Makes sense, hope they make it soon to the compiler
    s
    a
    • 3
    • 5
  • t

    thanh

    10/25/2019, 8:04 AM
    did we just move
    arrow-meta-prototye
    branch to
    arrow-meta
    repository?
    r
    • 2
    • 4
  • r

    Rachel

    10/25/2019, 8:10 AM
    https://github.com/arrow-kt/arrow/issues/1742
    :arrow: 3
    a
    • 2
    • 1
  • r

    Rachel

    10/25/2019, 8:11 AM
    Please, let us know if we can help you with something in that issue or here. Sorry for the inconvenience and thanks for your collaboration!!
    r
    j
    • 3
    • 10
  • i

    Imran/Malic

    10/25/2019, 2:28 PM
    Hey Team can we move our
    arrow-meta
    issues to the new Repo?
    🥁 2
    r
    • 2
    • 2
  • j

    Jorge Castillo

    10/25/2019, 2:39 PM
    definitely
    :arrow: 1
    r
    • 2
    • 1
  • d

    drieks

    10/25/2019, 2:54 PM
    is there anywhere a development or testing guide for the ide plugin? just
    ./gradlew publishAndRunIde
    ? or
    ./gradlew clean gradle-plugin:publishArrowPluginMarkerMavenPublicationToMavenLocal gradle-plugin:publishPluginMavenPublicationToMavenLocal idea-plugin:runIde -Dorg.gradle.debug=true -Dkotlin.compiler.execution.strategy="in-process"
    ?
    i
    r
    • 3
    • 2
  • a

    amanda.hinchman-dominguez

    10/25/2019, 4:11 PM
    Should we close open PRs for arrow-meta in the old project then and open up the PRs in this new repo?
    r
    • 2
    • 6
  • r

    raulraja

    10/25/2019, 5:20 PM
    https://github.com/arrow-kt/arrow-meta/pull/9
    a
    • 2
    • 9
  • i

    Imran/Malic

    10/25/2019, 5:33 PM
    https://github.com/arrow-kt/arrow-meta/issues/10
    • 1
    • 1
  • j

    jereksel

    10/25/2019, 7:27 PM
    Hi, so I see that Lenses for now are CompanionObject.iso. Do you know how we can generate and make available for autocomplete intermediate methods like extension vals for Lenses
    inline val <A> Lens<A, MyObject>.myObject2(): Lens<A, MyObject2> = {}
    ?
    s
    • 2
    • 1
  • a

    amanda.hinchman-dominguez

    10/25/2019, 11:01 PM
    Hi! I migrated my work-in-progress PR over to
    arrow-meta
    , made sure that the gradle was synced to itself, set the JDK to 1.8, ran the
    ./gradlew
    tasks in the CLI, and tried to run the tests from the IDE. Unfortunately, I'm getting this:
    j
    r
    • 3
    • 55
  • r

    raulraja

    10/28/2019, 5:36 PM
    https://github.com/arrow-kt/arrow-meta/pull/37/files
    a
    i
    • 3
    • 7
  • i

    Imran/Malic

    10/29/2019, 4:21 PM
    We’re defining the TestEnvironment for HeavyTests. Does anyone know how we can run code strings through our compiler plugin and pass the generated meta data (e.g.:
    .class
    ) to a directory, which is within the Idea Instance we create during each test. Similar what we do know with the existing compiler plugin test’s. We’re blocked on that.
    r
    s
    +2
    • 5
    • 32
  • r

    Rachel

    10/30/2019, 6:20 PM
    arrow-meta-compiler-plugin/                   30-Oct-2019 18:11    -
    arrow-meta-docs/                              30-Oct-2019 18:11    -
    arrow-meta-idea-plugin/                       30-Oct-2019 18:11    -
    arrow-meta-testing-plugin/                    30-Oct-2019 18:11    -
    a
    i
    • 3
    • 4
  • a

    amanda.hinchman-dominguez

    10/30/2019, 6:58 PM
    Now, I did remember to include the imports for the test, and I included the annotations and core data dependencies within the configs!
    r
    • 2
    • 60
  • r

    raulraja

    10/30/2019, 7:50 PM
    The issue is that @extension in current arrow can only target classes and interfaces but in meta we redeclared it to target much more
    a
    • 2
    • 1
  • r

    raulraja

    10/30/2019, 7:50 PM
    @Rachel that also needs to change in Arrow so val fun, object and class can use
    @extension
    👍 1
    👏 2
    r
    • 2
    • 4
  • j

    jereksel

    10/30/2019, 8:08 PM
    Since we want to release SNAPSHOTs, we must find a way to connect release gradle plugin to snapshot Kotlin plugin. Or can we release gradle plugin snapshots without verification?
    r
    r
    • 3
    • 3
  • j

    Joachim Ansorg

    10/31/2019, 3:07 PM
    Which version of IntelliJ are you targetting with the
    idea-plugin
    module? I'm asking because the upcoming 2019.3 cleans up many deprecated methods and parts of the test framework will change, too
    a
    i
    r
    • 4
    • 6
  • r

    raulraja

    10/31/2019, 5:20 PM
    https://github.com/arrow-kt/arrow-meta/pull/46
    👍 2
    👏 2
    f
    a
    • 3
    • 2
  • a

    amanda.hinchman-dominguez

    10/31/2019, 6:55 PM
    @Rachel is this a typo perhaps?
    r
    • 2
    • 12
  • j

    Joachim Ansorg

    11/01/2019, 10:50 AM
    building
    master
    of
    arrow-meta
    takes about 6 minutes here. I've found that it only takes about a minute when using gradle's offline mode (flag
    --offline
    in a terminal and https://www.jetbrains.com/help/idea/jetgradle-tool-window.html#offline for the setting in IntelliJ)
    gradle --info build
    is showing lots of (failing) HTTP requests, I'm not sure why. @Imran/Malic
    i
    r
    +4
    • 7
    • 14
  • i

    Imran/Malic

    11/01/2019, 11:48 AM
    https://github.com/arrow-kt/arrow-meta/pull/53
    j
    • 2
    • 1
  • j

    Joachim Ansorg

    11/01/2019, 1:18 PM
    I'm trying to use "testing-plugin" in module "idea-plugin". The build is failing because it can't locate
    com.github.arrow-kt:kotlin-compile-testing:1.2.3-SNAPSHOT
    . I've tried
    1.3.0
    and also
    com.github.tschuchortdev:kotlin-compile-testing:1.2.3-SNAPSHOT
    , but this also failed. I've seen the thread above, but
    1.3.0
    doesn't seem to work here. Is there a way to make this work? @Imran/Malic
    a
    i
    • 3
    • 11
  • j

    Joachim Ansorg

    11/01/2019, 4:13 PM
    https://github.com/arrow-kt/arrow-meta/pull/57
    a
    r
    +2
    • 5
    • 23
  • t

    tschuchort

    11/01/2019, 9:06 PM
    Btw why did you wrap my compile-testing library? Is the API not good enough?
    r
    r
    • 3
    • 9
Powered by Linen
Title
t

tschuchort

11/01/2019, 9:06 PM
Btw why did you wrap my compile-testing library? Is the API not good enough?
r

raulraja

11/01/2019, 11:17 PM
The API is great but we want meta users to use the same style they use in quotes, codegen, ide and tests
additionally we need to add to the DSL the quote system which is a compiler phase
basically inline plugins that are written in the tests
and we are trying to figure that out
you are welcome to suggest improvements, the only issues we had with your lib so far is that we had no version to rely on so we had to use a jitpack fork
t

tschuchort

11/02/2019, 12:04 PM
What do you mean with same style? If any improvements can be upstreamed I definitely want to do so, so that everyone can benefit from them.
For inline plugins you need the PR for better compiler plugin support, which is practically finished except for finding out the kapt-initialization order. We need to know if third-party compiler plugins are run before or after kapt stubs generation (or maybe not at all in the kapt-step). If you could find that out it would be a big help and I could merge&release it immediately. Should be enough to add some dummy method to classes in a compiler plugin and then observe in an annotation processor if it appears or not.
r

Rachel

11/04/2019, 9:07 AM
Hi @tschuchort, thanks for your help! I made a drawing to tell what we did:

https://user-images.githubusercontent.com/22792183/68107674-e4235f00-fee5-11e9-8848-e53f14cfeee6.jpg▾

❤️ 1
In this way, tests can be written like this one: https://github.com/arrow-kt/arrow-meta/blob/master/compiler-plugin/src/test/kotlin/arrow/meta/plugins/lens/LensTest.kt
View count: 3