You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+83-1Lines changed: 83 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,28 @@ The [telescope.nvim](https://github.com/nvim-telescope/telescope.nvim) pickers t
5
5
The plugin analyzes the entire class/module hierarchy, including parent classes, traits, interfaces, and other inherited elements, giving you a complete view of the API surface.
The following options can be configured in the telescope setup:
88
+
89
+
```lua
90
+
require('telescope').setup {
91
+
extensions= {
92
+
clapi= {
93
+
-- Show inherited members (default: true)
94
+
show_inherited=true,
95
+
96
+
-- Default visibility filter (default: nil - show all)
97
+
-- Can be "public", "protected", "private", or nil
98
+
default_visibility=nil,
99
+
100
+
-- Additional display customization options
101
+
display= {
102
+
show_filename=true, -- Show filename in results
103
+
show_line_numbers=true, -- Show line numbers
104
+
},
105
+
},
106
+
},
107
+
}
108
+
```
109
+
110
+
## Troubleshooting
111
+
112
+
**Q: No symbols are displayed for my file**
113
+
A: Make sure you have the appropriate language parser installed for treesitter:
114
+
```vim
115
+
:TSInstall php
116
+
:TSInstall java
117
+
```
118
+
119
+
**Q: Some inherited members are missing**
120
+
A: The plugin requires proper parsing of the inheritance hierarchy. Ensure your project structure allows the plugin to find parent classes and interfaces.
121
+
122
+
## Contributing
123
+
124
+
Contributions are welcome! Please feel free to submit a Pull Request.
125
+
126
+
1. Fork the repository
127
+
2. Create your feature branch
128
+
3. Commit your changes
129
+
4. Push to the branch
130
+
5. Submit a pull request
131
+
132
+
For adding support for a new language, check the `lua/clapi/parser/` directory for examples.
0 commit comments