Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wiki links in hints for functions are broken #34

Closed
Sparfell opened this issue Aug 26, 2018 · 6 comments
Closed

Wiki links in hints for functions are broken #34

Sparfell opened this issue Aug 26, 2018 · 6 comments
Assignees
Labels

Comments

@Sparfell
Copy link

If you move the cursor over a function the link toward BI wiki is not functionnal. See screenshot below :
https://i.imgur.com/nkzi55L.png?1

@SkaceKamen
Copy link
Owner

Yea that can happen, because the description is basically parsed bi wiki, so unexpected formatting can break the suggestion box.

You can post list of functions with this problem here, so I can update the parser accordingly.

@SkaceKamen SkaceKamen self-assigned this Aug 27, 2018
@SkaceKamen SkaceKamen added the bug label Aug 27, 2018
@Sparfell
Copy link
Author

Thanks for your answer.
In fact, I didn't find a function hint with a working link.
I tried a few functions from this page :
https://community.bistudio.com/wiki/Category:Arma_3:_Functions
The following functions were tested and all have broken links :

BIS_fnc_randomPosTrigger
BIS_fnc_dynamicText
BIS_fnc_spawnGroup
BIS_fnc_showAANArticle
BIS_fnc_findSafePos
BIS_fnc_setVehicleMass
BIS_fnc_endMission
BIS_fnc_showWelcomeScreen
BIS_fnc_spawnVehicle
BIS_fnc_getFactions
BIS_fnc_traceBullets
BIS_fnc_ORBATOpen
BIS_fnc_garage
BIS_fnc_carAlarm
BIS_fnc_curatorHint
BIS_fnc_setDate
BIS_fnc_isPosBlacklisted

Every links cuts after ".../wiki/BIS" as if the "_" between "BIS" and "fnc" was missing.

@SkaceKamen
Copy link
Owner

I'll look into it

@SkaceKamen
Copy link
Owner

Ok, so the issue is that having underscore in links, that are in italics breaks the markdown parser in vscode ... removing the italics seems to fix the issue.

I'll push update soon.

@Sparfell
Copy link
Author

Thanks for your work. :)

@SkaceKamen
Copy link
Owner

Version 0.8.8 now has fixed links for functions and should also have some better docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants