zen0wu / topcoder-greed

greedy editor for topcoder arena
Apache License 2.0
229 stars 45 forks source link

greed.conf folder location #26

Closed bopamo closed 11 years ago

bopamo commented 11 years ago

Hello!

First and foremost: thanks for the wonderful tool! This has definitely made my TopCoder experience exponentially better.

I am on a win7 x64 system using VS 2012. I cannot access the greed.conf file because the configuration directory is assigned with the Linux style folder structure ("/") as opposed to windows ("\") . This is a slightly modified message from the TopCoder applet:

Reloading your configuration from "...\Visual Studio 2012\Projects\TopCoder/greed.conf"

Because of that I'm not able to customize. Other than that it seems to work like a charm. Thanks again!

zen0wu commented 11 years ago

Hi @StrappingLad, thank you for your attention.

I'm not sure that's the problem, the log you saw is a mistake while printing

     this.say("Reloading your configuration from \"" + Configuration.getWorkspace() + "/greed.conf\"");

When locating your greed.conf, no platform-specific features are used.

Could you describe in detail how the customization does not work, including what you are trying to customize and so on.

Thanks.

bopamo commented 11 years ago

Hello @shivawu,

Thank you for the clarification. From my understanding of your documentation, the greed.conf file would be under my workspace root. I don't see any such file at that location.

I would like to modify the location of my source folders, use a different unit test with my IDE, and make some modifications to the template.

Thanks a lot!

zen0wu commented 11 years ago

OK, I know. Maybe the doc is not clear enough, in order to customize Greed, you need to create a greed.conf under your workspace, and use your custom settings to override the default settings.

For example, if you want a different source location, write

greed.codeRoot = "./Code"

or something like that

bopamo commented 11 years ago

Got it! Yes, I misunderstood you. I thought there was a configuration file added to the project that could be modified. Thanks for the clarification!

zen0wu commented 11 years ago

You're very welcome!