@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Quick hack to make symbol lookup work for C#.

Summary: This is kind of a quick hack to make symbol lookup work for C#. ctags calls C# 'csharp', while pygments recognises it as 'cs' (or at least, I have to put 'cs' in the Arcanist indexed languages for the clickables to appear, while it's 'csharp' in the symbol database).

Test Plan: Tested this in my live install and it makes symbol lookup work.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley

CC: Korvin, epriestley, aran

Differential Revision: https://secure.phabricator.com/D7497

authored by

James Rhodes and committed by
epriestley
448d8684 eccbbce9

+1 -1
+1 -1
scripts/symbols/generate_ctags_symbols.php
··· 71 71 72 72 // also, "normalize" c++ and c# 73 73 $language = str_ireplace("c++", "cpp", $language); 74 - $language = str_ireplace("c#", "csharp", $language); 74 + $language = str_ireplace("c#", "cs", $language); 75 75 76 76 // Ruby has "singleton method", for example 77 77 $type = substr(str_replace(' ', '_', $type), 0, 12);