Comments (6)
Additionally, the library defines a ..
infix operator, and I can't figure out how to reference it, either.
- Xcode completes
..(lhs:rhs:)
- DocC server shows
'..(_:_:)
Neither works.
from swift-docc.
The issue with the forwards slash characters is a recently discovered that's issue also tracked as rdar://112555102.
Additionally, the library defines a
..
infix operator, and I can't figure out how to reference it, either.
I think that the ..
infix operator would be linked to using ..(_:_:)
.
DocC inserts a leading '
to any path component that start with "..". That said, I would think '..(_:_:)
would be close enough to ..(_:_:)
for DocC to be able to diagnose and suggest a fixit for it. What diagnostic message are you getting for the '..(_:_:)
link?
from swift-docc.
I think that the
..
infix operator would be linked to using..(_:_:)
.
That worked, thanks!
DocC inserts a leading
'
to any path component that start with "..". That said, I would think'..(_:_:)
would be close enough to..(_:_:)
for DocC to be able to diagnose and suggest a fixit for it. What diagnostic message are you getting for the'..(_:_:)
link?
Unfortunately, Xcode autocompleted ..(lhs:rhs:)
instead, and no suggestions were offered. When I manually tried '..(_:_:)
no suggestions were offered, either. When I entered ..(_:_:)
I was finally given suggestions since ..
is overloaded a couple times.
from swift-docc.
#717 should resolve the issue with forward slash operators functions.
Unfortunately, Xcode autocompleted
..(lhs:rhs:)
instead, and no suggestions were offered. When I manually tried'..(_:_:)
no suggestions were offered, either. When I entered..(_:_:)
I was finally given suggestions since..
is overloaded a couple times.
The root cause of the autocompletion issue isn't in DocC's code so that'd have to be tracked with a Radar or Feedback.
..(lhs:rhs:)
seems to be too different from ..(_:_:)
to be offered as a suggestion but '..(_:_:)
is close enough to be offered as a suggestion in Xcode 15.0 (15A240d)
from swift-docc.
The root cause of the autocompletion issue isn't in DocC's code so that'd have to be tracked with a Radar or Feedback.
@d-ronnqvist Thanks! Did you open a feedback?
from swift-docc.
The root cause of the autocompletion issue isn't in DocC's code so that'd have to be tracked with a Radar or Feedback.
@d-ronnqvist Thanks! Did you open a feedback?
I didn't but after searching I can say that rdar://78412414 is tracking this specific autocomplete issue.
from swift-docc.
Related Issues (20)
- Theme like developer.apple.com/documentation
- Interactive tutorial for building interactive tutorials
- Tutorial code delta not picking up changes in some cases
- Linkable glossary
- Document Objective-C extensions with DocC HOT 2
- Xcode "Build documentation" not working with Swift Macro package in project HOT 5
- Curating a module under a technology root causes the sidebar to not show Objective-C symbols
- illegal hardware instruction HOT 4
- This mangled quote/code fence results in a crash HOT 1
- `@DeprecationSummary` directive doesn't always have an effect HOT 2
- Xcode does not provide fix for operator functions HOT 4
- Make DocC-Generated Website Indexable by Search Engines HOT 2
- Slices of Snippets don't have indentation removed HOT 1
- optional force unwrap fails if target name contains special characters
- Snippet slicing does not handle multiline string literals correctly
- Migrate to Swift 6
- Deprecated Objective-C methods not being marked as Deprecated
- Add `*` support for `@Available` directive HOT 2
- Remove duplicate semantic versioning types HOT 1
- DocC cannot generate documentation for tuple containing multiple parameter packs.
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 swift-docc.