Comments (2)
Currently this is by design, see the following comment:
That said, I think it makes sense to always render parameter docs in the class header: if they're attached to the parameter itself, pressing F1 on the class name or on the constructor
keyword does not show the docs, as it would when the doc is part of the class header.
![image](https://private-user-images.githubusercontent.com/1186186/295531496-57e4d1e2-c882-4d75-8d3f-39af8a8ef59f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg4MzMwODEsIm5iZiI6MTcxODgzMjc4MSwicGF0aCI6Ii8xMTg2MTg2LzI5NTUzMTQ5Ni01N2U0ZDFlMi1jODgyLTRkNzUtOGQzZi0zOWFmOGE4ZWY1OWYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYxOSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MTlUMjEzMzAxWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZjhjMGU3YTM4NTBhYjRiZGYyNzVmZGI0NGMxMjZlOWE2Zjc4MGEyOTc0NjZkOWEwODAwYzk0Yzc0MGQ1YmNlMiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.wewhuLN1moNuUx6s8EaPYEFZCJ8uRLNS12xYaft-ZAA)
![image](https://private-user-images.githubusercontent.com/1186186/295531632-33160cef-89d5-46d5-a58e-0c5d11d958d5.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg4MzMwODEsIm5iZiI6MTcxODgzMjc4MSwicGF0aCI6Ii8xMTg2MTg2LzI5NTUzMTYzMi0zMzE2MGNlZi04OWQ1LTQ2ZDUtYTU4ZS0wYzVkMTFkOTU4ZDUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYxOSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MTlUMjEzMzAxWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9Y2Y3ODc0YzU1OWQ2Nzk1OGE0MDc4ZDQ5Nzg1YjEyZTBiZjVlZWQwMGE1ZTQ2ZjYxZDc1NWEwM2M3NGQ2NTkzMyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.WsNqacvz3tcV8GHxhukvRWO2bVKoCh8BFOuTLw8QVg8)
from kotlinpoet.
Thank you very much for the fast change! :)
from kotlinpoet.
Related Issues (20)
- com.squareup:kotlinpoet 1.15.3 missing class files. HOT 3
- callSuperConstructor does not generate code for its parameters HOT 2
- Code generated with ksp interop's toAnnotationSpec() generates code that fails to compile when passed an OptIn annotation HOT 1
- Integration with okio's file system HOT 4
- Aliased imports not working for nested classes and generate unused imports and usage of FQNs HOT 2
- Aliased imports not used when generating code in same package for which the aliased import is defined HOT 1
- Reference Kotlinpoet created class in another class.
- Kotlin Keywords escaped in Class and Property names HOT 6
- Comments outside of code block HOT 1
- Wrap supertype/superinterfaces like parameters
- The get / set index access operator overloads are incorrectly escaped HOT 2
- `joinToCode` on `Iterable<T>` which accepts `(T) -> CodeBlock` trailing lambda
- Redundant visibility modifier added on interfaces HOT 3
- Option to disable line wrapping HOT 1
- Infinity loop/block when a MemberName is used with isExtension=true and isExtension=false
- Stack overflow when generating names if types are "curiously recurring" (recursively bound generics)
- Line Break Issue causing compilation error HOT 2
- Small double values are set to zero in %L translation
- Consecutive spaces and line break algorithm can cause trailing whitespace HOT 3
- Wrapped comments are missing the \\ prefix HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kotlinpoet.