CodeWhisperer is an AI coding companion that generates real-time, single-line or full-function code suggestions in your Integrated Development Environment (IDE) to help you quickly build software.
(https://aws.amazon.com/codewhisperer/faqs/ )
From this year (2023) onwards, Amazon CodeWhisperer provides artificial intelligence (AI)–powered code suggestions for Kotlin.
In this sharing, I had demonstrated codewhisperer with Kotlin.
4. Beginning
Amazon
CodeWhisperer can
generate multiple code
suggestions in real time.
You can quickly accept the
top suggestion (tab key),
view more suggestions
(arrow keys), or continue
writing your own code.
20XX 4
When IntelliJ IDEA Meet Amazon CodeWhisperer.
15. Tools
You can use the service from multiple
IDEs, including:
VS Code, IntelliJ IDEA,
AWS Cloud9, AWS Lambda console,
JupyterLab and Amazon SageMaker
Studio.
20XX 15
When IntelliJ IDEA Meet Amazon CodeWhisperer.
16. Something About CodeWhisperer...
START get a Builder ID
RUN Data will be automatically sent
Security Scan Only supported java, python, javascript
Price It depends on Individual Tier (for free) or Professional Tier.
FAQ https://aws.amazon.com/codewhisperer/faqs/
20XX 16
When IntelliJ IDEA Meet Amazon CodeWhisperer.
17. 20XX When IntelliJ IDEA Meet Amazon CodeWhisperer. 17
//九九乘法表 (Multiplication table)
Kotlin Web
Android
Compose
18. 20XX When IntelliJ IDEA Meet Amazon CodeWhisperer.
18
Multiplication table + kotlin + CodeWhisperer = ??
19. Multiplication table + kotlin + CodeWhisperer
20XX When IntelliJ IDEA Meet Amazon CodeWhisperer. 19
kotlin Collection
20. Multiplication table + kotlin + CodeWhisperer
20XX When IntelliJ IDEA Meet Amazon CodeWhisperer. 20
kotlin Collection
• List
21. Multiplication table + kotlin + CodeWhisperer
20XX When IntelliJ IDEA Meet Amazon CodeWhisperer. 21
kotlin Collection
• List
• Set?
• Map?
22. Multiplication table + kotlin + CodeWhisperer
20XX When IntelliJ IDEA Meet Amazon CodeWhisperer. 22
kotlin Coroutine
23. Multiplication table + kotlin + CodeWhisperer
20XX When IntelliJ IDEA Meet Amazon CodeWhisperer. 23
kotlin Coroutine
• Suspend??
24. Multiplication table + kotlin + CodeWhisperer
20XX When IntelliJ IDEA Meet Amazon CodeWhisperer. 24
協 程
• Table??
25. Multiplication table + kotlin + CodeWhisperer
20XX When IntelliJ IDEA Meet Amazon CodeWhisperer. 25
協 程
26. 20XX When IntelliJ IDEA Meet Amazon CodeWhisperer.
26
Collection Coroutine ...etc
Multiplication table + kotlin + CodeWhisperer