Comments (3)
Would be nice if we could use the same existing rename! function supporting the alias
from clojure-lsp.
Would be nice if we could use the same existing rename! function supporting the alias
Du you have a specific reason for this? The current rename!
function expects symbols in :from
and :to
, while renaming an alias needs different types of arguments. Also there could be an alias with the same name as a var in a namespace. Then it would be not clear, which one is targeted.
My first guess is, that two simpler functions are easier to understand then one which complicates the two things.
from clojure-lsp.
yeah, would complicate a little bit the internal api, but I agree it's easier, I think a separated one is a good way.
from clojure-lsp.
Related Issues (20)
- False positive: unused-public-var with #(fn) and macroexpand hook HOT 4
- Help to consistently apply namespace aliases. HOT 2
- JetBrains Exception when attemping to refactor/rename a file HOT 1
- Code Action "Add require" for namespaced keywords HOT 1
- CLI format is different than run as an alias HOT 2
- False positive: Unused public var 'clojure-sample.component-example/CircuitBreaker'
- Exception on workspace/didChangeConfiguration messages HOT 3
- Add keyword definitions (reg-...) to :clojure/workspace/projectTree/nodes HOT 7
- Adding require command fails for requires without alias HOT 1
- Alias code action "Add require ... x 1" instead of real count HOT 1
- Renaming of function, when done twice, loses track of change HOT 3
- Creating a new `.clj` file in eglot takes a long time HOT 1
- Enable "find references" for quoted qualified symbols HOT 3
- rename ns picks wrong source-path
- Add "Replace full qualified ns with alias" feature
- Allow reusing of another functions `:doc` and `:arglists` HOT 5
- Display fully-qualified function name on textDocument/signatureHelp
- Creating a new Clojure file with Γ¦/ΓΈ/Γ₯ in the filename breaks `workspace/willRenameFiles` HOT 1
- Allow disabling external keyword exclusions
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 clojure-lsp.