Quantcast
Channel: allow cross-references in code snippets - Meta Stack Exchange
Viewing all articles
Browse latest Browse all 2

Answer by Jon Seigel for allow cross-references in code snippets

$
0
0

It's generally discouraged to be posting long code snippets. Certainly code snippets long enough to make use of such a feature. I do like the idea, but the effort/return ratio just isn't there for use on SO.

You can always manually hack in something to get the point across. I.e., see (1) in my code below:

public void x(){    ...    int a = 42;  // *** 1 ***    ...}

Viewing all articles
Browse latest Browse all 2

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>