บันทึกการเปลี่ยนแปลงของคำแนะนำ Kotlin
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
29 กรกฎาคม 2024
การทำงานร่วมกัน
6 กันยายน 2023
- ใหม่: อนุญาตให้ใช้ "
camelCase
" สำหรับชื่อไฟล์พหูพจน์ที่มีหลายรายการ
ประกาศ
9 ธันวาคม 2021
- แก้ไข: ชี้แจงกฎเกี่ยวกับวงเล็บปีกกาว่าไม่จำเป็นต้องใช้สำหรับบรรทัดเดียว (If/else)
19 พฤษภาคม 2021
- แก้ไข: นำกฎออกจากเวลาที่จะใช้ฟังก์ชันนิพจน์
- ใหม่: เพิ่มกฎที่ไม่อนุญาตให้ใช้ชื่อฟังก์ชันที่มีการเว้นวรรค
10 มิถุนายน 2020
18 พฤษภาคม 2018
รูปแบบ
- แก้ไข: การเยื้องพารามิเตอร์ฟังก์ชันเปลี่ยนเป็นการเยื้องเดียวเพื่อให้ตรงกัน
คู่มือแนะนำ JetBrains
- แก้ไข: เพิ่มโอเปอเรเตอร์ช่วงเป็นข้อยกเว้นในช่องว่างของโอเปอเรเตอร์ไบนารี
การทำงานร่วมกัน
- ใหม่: เพิ่มส่วนเกี่ยวกับการตรวจสอบ Lint สำหรับ Kotlin และ Java Interoperability
14 พฤศจิกายน 2017
การทำงานร่วมกัน
แก้ไข: แก้ไขเนื้อหาของ "อาร์กิวเมนต์ Lambda" ให้เป็นส่วนที่ถูกต้อง
แสดงสถานะปัจจุบันของประเภท lambda และการแปลง SAM ของอินเทอร์เฟซ
2 พฤศจิกายน 2017
การเผยแพร่ครั้งแรก
ตัวอย่างเนื้อหาและโค้ดในหน้าเว็บนี้ขึ้นอยู่กับใบอนุญาตที่อธิบายไว้ในใบอนุญาตการใช้เนื้อหา Java และ OpenJDK เป็นเครื่องหมายการค้าหรือเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-27 UTC
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 2025-07-27 UTC"],[],[],null,["# Kotlin guide change log\n\n29 July 2024\n------------\n\n### Interop\n\n- Fix: Corrected source syntax issues in the [\"Lambda parameters last\"](/kotlin/interop#lambda-parameters) and [\"Idiomatic naming\"](/kotlin/interop#idiomatic-naming) sections that prevented some code snippets from fully rendering.\n\n06 September 2023\n-----------------\n\n- New: Allow `camelCase` for plural filenames containing multiple declarations.\n\n9 December 2021\n---------------\n\n- Fix: Clarify rule on braces not being required for single-line if/else.\n\n19 May 2021\n-----------\n\n- Fix: Remove rule on when to use expression functions.\n- New: Added rule prohibiting function names with spaces.\n\n10 June 2020\n------------\n\n- Fix: Must wrap after operators in the general case (\u003chttps://github.com/android/kotlin-guides/issues/62\u003e).\n- New: Added rule for `@[...]` annotation syntax.\n\n18 May 2018\n-----------\n\n### Style\n\n- Fix: Function parameter wrap indent has changed to single indent to match the JetBrains style guide.\n- Fix: Add the range operator as an exception to binary operator whitespace.\n\n### Interop\n\n- New: Added a section about Lint Checks for Kotlin and Java Interoperability.\n\n14 November 2017\n----------------\n\n### Interop\n\nFix: Corrected the content of the \"Lambda arguments\" section to accurately\nreflect the current state of lambda types and interface SAM conversion.\n\n2 November 2017\n---------------\n\nInitial release."]]