public string LookAtln(Player p, string thingId, string containerId)
{
//I'm not sure using a formatter is good or not
string f = String.Format ("Look at thingId in containerId");
我需要使用逗号作为小数点分隔符和千位分隔符来格式化数字。 我检查了其他的答案,但我只能找到这个: How to use Velocity NumberTool for big currency numbers 这是不是我的目的是有用的,因为如果我想用不同的风格,我需要创造不同的功能。 我还检查力度文档和使用不同类型的模式,他们没有为我工作: context.put("numberTool", ne
我在一类设置一些注释,并在同一行注解注释,如: @SampleAnnotation // sample comment
@AnotherAnnotation // another comment
public class SampleClass { }
但是,每次我格式化文件时,我同行注释最终被移到下一行。这不仅是不可取的,因为它提出了我的评论,但更糟糕的是,它将评论置于一个令人困惑的地方