ããããããã®æçš¿ã®å 容ãæšæž¬ããŠããã§ãããã ã¯ããã¯ãã Visual Studioã§éçºããéã«ã³ãŒãã®ããã©ãŒãã³ã¹ãšå質ãæ¹åããããã®ãã©ã°ã€ã³ã§ããReSharper 8ãã玹ä»ããŸãã Microsoft Visual StudioããŒãããŒããã°ã©ã ã«åå ãããããã§ãReSharper 8.0ãMicrosoft Visual Studio 2013 Previewã®æè¿çºè¡šãããããŒãžã§ã³ã«è¿ éã«åãããããšãã§ããŸããã çŸåšããã®è£œåã¯2005ã2008ã2010ã2012ãå«ãæ倧5ã€ã®ããŒãžã§ã³ã®Visual StudioããµããŒãããŠããŸããå¿ èŠã«å¿ããŠãVisual Studio 2013ã®æçµãªãªãŒã¹ãè¡ããããšãReSharperã®ãµããŒãã¢ããããŒãããªãªãŒã¹ãããŸãã
G8ã«ã¯ã次ã®åéã®æ¹åãšé©æ°ãå«ãŸããŠããŸãã
- ã³ãŒãè£å®;
- ããã²ãŒã·ã§ã³
- XAMLãµããŒãã
- CSSãµããŒã;
- æ°ãããªãã¡ã¯ã¿ãªã³ã°
- ã¹ã³ãŒããšã©ãŒä¿®æ£ã¡ã«ããºã ã®æ°ããä¿®æ£ã
- ãã¡ã€ã«ã®ã»ãããäœæããããã®ãã³ãã¬ãŒãã
- ReSharperã®å»ºç¯ããŒã«ã
- æ¡åŒµæ©èœã䜿çšããäœæ¥ã®ç°¡çŽ åã
ããã«ãReSharper 8ã¯Visual Studioãè¶ ããŠããŸããReSharperã§äœ¿çšå¯èœãªæ°çŸã®ã³ãŒãæ€æ»æ©èœãåããç¡æã®ã¹ã¿ã³ãã¢ãã³ããŒã«ãšãã³ãŒãå ã®éè€ãæ€åºããæ©èœãæäŸããŠããŸãã ReSharper Command Line ToolsãšåŒã°ããæ°è£œåã¯ãContinuous IntegrationãµãŒããŒãŸãã¯ããŒãžã§ã³ç®¡çã·ã¹ãã ãšçµ±åã§ããŸãã
ã³ãŒãè£å®
ReSharperãæäŸããã³ãŒãè£å®ã¡ã«ããºã ã¯ããã¹ã¿ãžãªãIntelliSenseã®ãã匷åãªé¡äŒŒç©ã§ãããReSharper 8ã§ã¯ããã®ã¡ã«ããºã ã«å€ãã®æ¹è¯ãå ããããŸããã
ã€ã³ããŒããããŠããªãã¿ã€ãã®èªåè£å®ã¯ãå¥ã®éããŠã£ã³ããŠãšããŠè¡šç€ºãããªããªããŸãã-ãã®ã¡ã«ããºã ã¯ãåã«èªåè£å®ãªã¹ãã«å«ãŸããŠããŸãïŒ
ãªãã·ã§ã³ã®ãããããéžæãããšãã¿ã€ããè¿œå ããæ©äŒãåŸãããã ãã§ãªããReSharperã¯
using
ãã£ã¬ã¯ãã£ãããã¡ã€ã«ã«è¿œå ããŸãã ãã®ã¡ã«ããºã ã¯ã©ãã§ãæ©èœããŸããã¿ã€ãã䜿çšããã ãã§ãReSharperããããã®ã€ã³ããŒããæ¯æŽããŸãã
ããã«ãå€ãã®ãéåžžã®ãèªåè£å®ã¡ã«ããºã ã¯ãããã«ããã€ãã®ãã¹ããŒãããªãã·ã§ã³ãæäŸããããã«ãªããŸãã-ããšãã°ãã³ã¬ã¯ã·ã§ã³ãäœæããå ŽåãReSharperã¯èªåè£å®ãªã¹ãã§ãã®ã³ã¬ã¯ã·ã§ã³ãæåã«åæåããåŒãæäŸããŸãïŒ
ReSharper 8ã®ãªãŒãã³ã³ããªãŒãã®æ ¹æ¬çã«æ°ããæ©èœã¯äºéè£å®ã§ãã ã¢ã€ãã¢ã¯ç°¡åã§ã-èªåè£å®ããŒãè€æ°åæŒãããšãã§ãããã®ãã³ã«æ°ããèŠçŽ ã§èªåè£å®ãªã¹ããå±éãããŸãã ããšãã°ãã¯ã©ã¹ã®ã¹ããŒããªãªãŒãã³ã³ããªãŒãã§ã¯ãã¿ã€ãã«é©ãããã¹ãŠã®èŠçŽ ã衚瀺ãããŸããã
ããããCtrl + Alt + SpaceãããäžåºŠæŒããšãReSharperã¯ã第2ã¬ãã«ãã®ãã¹ãŠã®ãªãã·ã§ã³ãæäŸããŸãã ã¯ã©ã¹ã®ã¡ã³ããŒã§ããŸããŸãªã¡ãœãããåŒã³åºããŠæåååãååŸãããã¹ãŠã®å¯èœæ§ïŒ
string
èªäœãè¿ããªããã®ãå«ãïŒïŒ
åŒã³åºãã®ãã§ãŒã³ã延é·ãããã³ã«ããã¥ã¢ã«èªåè£å®ãç¡éã«äœ¿çšã§ããŸãã
äºéã€ã³ããŒãã®å®äºãå¯èœã§ãã 䜿çšã§ããªãã¿ã€ãïŒã€ãŸãããããžã§ã¯ãã«é©åãªã¿ã€ããå«ãã¢ã»ã³ããªãžã®ãªã³ã¯ããªãïŒãè¿œå ããããšãããšãäœãæ©èœããŸããã
ãã ãã ããäžåºŠããŒã®çµã¿åããïŒShift + Alt + SpaceïŒãæŒããšãReSharperã¯æ¬¡ã®ãªã¹ãã衚瀺ããŸãã
ãªã¹ãé ç®ã®ãããããéžæãããšãããã«3ã€ã®ããšãè¡ããŸãïŒçŸåšã®ãããžã§ã¯ãã®ç®çã®ã¢ã»ã³ããªãžã®ãªã³ã¯ãè¿œå ããçŸåšã®ãã¡ã€ã«ã«
using
ãã£ã¬ã¯ãã£ããè¿œå ããã¿ã€ãåã®çœ®æãååŸããŸãïŒããšãã°ãç¥èªã䜿çšããå ŽåïŒã
ãã1ã€ã®æ°ããæ©èœã¯ãçæå®äºã§ãã ããã®æãç°¡åãªäŸã¯ããªãŒããŒããŒããããã¡ãœããã®ã¹ã¿ãã®çæã§ãã
override
ããŒã¯ãŒããæžãã ãã§ãReSharperã¯ãã¹ãŠã®å¯èœãªãªãã·ã§ã³ãæäŸããŸãïŒ
ãã£ãŒã«ããã«ãã»ã«åããå Žåãåæ§ã®ç¶æ³ãçºçããŸããå¿ èŠãªããšã¯ããã®ãã£ãŒã«ãã«å¯Ÿå¿ããããããã£ã®ååãæžã蟌ãã ãã§ãReSharperèªäœãã©ãããŒããããã£ã®çæãæäŸããŸãã 䜿çšæ³ã«åºã¥ããŠãèªã¿åãå°çšããããã£ãæäŸã§ããŸãã
ãããŠæåŸã«ãã³ã³ã¹ãã©ã¯ã¿ãŒãçæããã¡ã«ããºã ãç°¡çŽ åãããŸãã-ç¥èª
ctorf
ã
ctorp
ãããã³
ctorfp
ã«ããããã¹ãŠã®ãã£ãŒã«ããããããã£ããŸãã¯ãã®äž¡æ¹ã®åæåããã³ãŒãå ã§ã³ã³ã¹ãã©ã¯ã¿ãŒãçŽæ¥äœæã§ããŸãã
ãã1ã€ã®é©æ°ã¯ããã©ãŒããããã©ã° ïŒãã©ãŒãããæå®åïŒã®èªåè£å®ã§ã ã ReSharperã¯ã.NETã®æšæºåã§
ToString()
ãåŒã³åºãããšã§ããã®ç¹å®ã®åã«ååšãããã©ãŒãããèŠçŽ ããã®ç®çãããã³ãã®ãããªãã©ãŒãããã®æçµçµæãã©ã®ããã«ãªãããç解ããã®ã«åœ¹ç«ã¡ãŸãã
èªåè£å®ã¯ã
String.Format()
åŒã³åºãã®ãã©ãŒãããä»æ§å ã§ãæ©èœããŸãã
ããã²ãŒã·ã§ã³
ããã²ãŒã·ã§ã³ã¡ã«ããºã ãç°¡çŽ åããããã«ã Go to Everythingãšããæ°ããã¡ã«ããºã ãäœæããŸããã ãã®ã¡ã«ããºã ã¯ããã¹ãŠã®ãã¡ã€ã«ãåãããã³åèŠçŽ ãåæã«æ€çŽ¢ãããšããèãæ¹ã§ãã
ãŸãããã¡ã€ã«å ã®ç¹å®ã®è¡ã«ç§»åããæ©èœãè¿œå ããŸããããã®ããã«ã¯ããã®çªå·ãæžã蟌ãã ãã§ãã
ããã«ãReSharperã¯ã ãžã§ããªãã¯çœ®æã®ããã²ãŒã·ã§ã³ã¡ã«ããºã ãã€ãŸãããžã§ããªãã¯ãã©ã¡ãŒã¿ã眮ãæããããå Žæãšã¿ã€ããèŠã€ããæ©èœããµããŒãããŠããŸãã
ããã«ãéã³ã³ãã€ã«ãããåã®ãœãŒã¹ã³ãŒãããã²ãŒã·ã§ã³ã§ã¯ããœãªã¥ãŒã·ã§ã³ãšã¯ã¹ãããŒã©ãŒã§ã¯ãªããã¢ã»ã³ããªãšã¯ã¹ãããŒã©ãŒã«ç§»åããŸãã ãããè¡ãã«ã¯ãShift + Alt + LãæŒãããé©åãªã³ã³ããã¹ãã¡ãã¥ãŒé ç®ãéžæããŸãã
XAMLãµããŒã
XAMLã«ã€ããŠã¯ãå¥ã®èšäºãæžãã®ã«ååãªãã®ããããŸãã èªåè£å®ããå§ããŸããããååãæžãã ãã§XAMLã«èŠçŽ ãäœæããããã«ãå±±æ¬åŒ§ãå¿ èŠãããŸããïŒ
èªåè£å®ã¯ãããšãã°ãã¹ã¿ã€ã«ãèšå®ããããããã£ã決å®ããããã«ãæ©èœããŸãã
ãŸããReSharperã¯
x:Shared
ããã³
xml:space
å±æ§ã§ãªãŒãã³ã³ããªãŒããå®è¡ããŸãã
ããã«ã ã¹ã¿ã€ã«ã®å€ãã®æ€æ»ãšè¿ éãªä¿®æ£ã¡ã«ããºã ãç»å ŽããŸãã ã ããšãã°ãã¹ã¿ã€ã«ã«ã¯äžå¿ èŠãªä¿®é£ŸåããããŸãã
ã¹ã¿ã€ã«ãå¥ã®ã¹ã¿ã€ã«ã®ããããã£ããªãŒããŒã©ã€ãããå ŽåãReSharperã¯ããŒã¹å®çŸ©ã«ç§»åããããã®ã¢ã€ã³ã³ã衚瀺ããŸãã
ããããã£ã®å®çŸ©ãéè€ããŠããå ŽåãReSharperã¯ãããåé€ããããšãææ¡ããŸãã
ãããŠãã¡ãããã³ã³ãããŒã«ã«ã¹ã¿ã€ã«ãé©çšããŠããããããã£ã®è€è£œãéå§ãããšãReSharperã¯ããã«ã€ããŠæå¥ãèšããŸãã
ãŸããã¹ã¿ã€ã«ããµããŒãããããã«ã æ°ãããªãã¡ã¯ã¿ãªã³ã°ããããŸãã æåã®ãªãã¡ã¯ã¿ãªã³ã°ã¯ã ã¹ã¿ã€ã«ãæœåºããŠã€ã³ã©ã€ã³å®çŸ©ããã¹ã¿ã€ã«ãååŸããããšã§ãã
ãã®ãªãã¡ã¯ã¿ãªã³ã°ãåŒã³åºããšããã€ã¢ãã°ã衚瀺ãããã¹ã¿ã€ã«ã«é 眮ããããããã£ãšãã®ã¹ã¿ã€ã«ãé 眮ããå Žæãéžæã§ããŸãã
åŸã§ãã®ã¹ã¿ã€ã«ãŸãã¯ãã®ã¹ã¿ã€ã«ãé©çšãããèŠçŽ ã«ããã€ãã®ããããã£ãè¿œå ããããšã«ããå Žåãåãã¹ã¿ã€ã«ã«æ°ããããããã£ãè¿œå ããã®ã¯å¯èœãªéãç°¡åã§ãã
ããã«ãXAMLã§å®çŸ©ããããªãœãŒã¹ããã«ããã³ç§»åããããã®ãªãã¡ã¯ã¿ãªã³ã°ãç»å ŽããŸããã ãã®ãªãã¡ã¯ã¿ãªã³ã°ã«ãããããšãã°æ¬¡ã®è¡ãååŸã§ããŸãã
ããã«ãèŠçŽ ã®å質æ§ã®åæã«ããããªãœãŒã¹ã®1ã€ã®ã€ã³ã¹ã¿ã³ã¹ããŸãã¯ãã¹ãŠã®åäžã®èŠçŽ ãåŒãåºãããšãã§ããŸãã
èŠçŽ ãéžæãããšãReSharperã¯ããªãœãŒã¹ã®åŒã³åºãæ¹æ³ãšé çœ®å Žæãéžæã§ãããã€ã¢ãã°ã衚瀺ããŸãã
Ctrl + Alt + ShiftãæŒããªããå·Šå³ã®ããŒãæŒãããšã§ãèŠçŽ éã§ãªãœãŒã¹ã移åã§ããããã«ãªããŸããã
ã€ã³ã©ã€ã³ XAMLãªãœãŒã¹ãªãã¡ã¯ã¿ãªã³ã°ãå©çšã§ããŸããããã«ãããéã«ãªãœãŒã¹ãåŒãåºããŠããã®ãŸãŸãæ¿å ¥ããããšãã§ããŸãã
ãã®ãªãã¡ã¯ã¿ãªã³ã°ãåŒã³åºãã«ã¯ãããã€ãã®èšå®ããããŸãã
æåŸã«ãããã«ããã€ãã®æ©èœããããŸããç¹ã«ããäŸåããããã£ãã®ã¢ãããã¯ãªååå€æŽïŒããã³ã€ãã³ãïŒã®ãµããŒããæªäœ¿çšã®ããŒã ã¹ããŒã¹å®çŸ©ã®åé€ãããŒã¯ã¢ããããããã£ã®ä»»æã®åé€ã«å¯Ÿããã³ã³ããã¹ãã¢ã¯ã·ã§ã³ããããŸãã
CSSãµããŒã
ReSharper 8ã®CSSãµããŒãã¯ãCSSãã¡ã€ã«ã ãã§ãªããJavaScriptãCïŒãªã©ã®ä»ã®èšèªã§ã®CSSã®äœ¿çšã«ãæ¡åŒµãããŠããŸãã ãããã®èšèªã®èªåè£å®ã¯ãããç¥ãããŠããCSSå±æ§ã§å©çšã§ããŸãã
ãŸããã¯ã©ã¹åã«ã€ããŠãïŒ
ãŸãã¯èŠçŽ åã®å ŽåïŒ
èªåè£å®ã«ã¯ã ã©ã€ããã³ãã¬ãŒãã䜿çšãããŸããããã¯ãå€ãããå¹æçã«æ±ºå®ã§ãããã³ãã¬ãŒãã§ãã ããšãã°ãèŠçŽ ã®å¹ ã決å®ããå Žåã
length
ãš
percentage
2ã€ã®ãã¿ãŒã³ã衚瀺ãããŸãã
ããšãã°ãé·ããéžæãããšããµã€ãºãå ¥åããããããããããŠã³ãªã¹ãããåäœãéžæãããã§ããŸãã
ãŸããReSharper 8ã§ã¯ãç¹å®ã®ããŒãžã§ã³ãžã®æºæ ãããã³äžè¬çãªWebãã©ãŠã¶ãŒãšã®äºææ§ã«ã€ããŠCSSã確èªããŸãã
ããšãã°ãCSSãããŒãžã§ã³1.0ã«èšå®ãããšãäºææ§ã®ãªãå±æ§ã®äœ¿çšã¯ãšã©ãŒãšããŠèªèãããŸãã
ããã«ãReSharperã¯ãååä»ããšã³ãã£ãã£ãšããŠããŸãã¯
rgb()
ãŸãã¯
hsl()
é¢æ°ãä»ããŠãããŸããŸãªè²è¡šçŸã®ã³ã³ããã¹ãã¢ã¯ã·ã§ã³ãæäŸããŸãã
æåŸã«ãCSSã¯
@view-port
@keyframe
ã
@view-port
ã
@view-port
@keyframe
ãªã©ã®ãµããŒãã
@keyframe
ã
æ°ãããªãã¡ã¯ã¿ãªã³ã°
ReSharper 8ã«ã¯ã3ã€ã®æ°ãããªãã¡ã¯ã¿ãªã³ã°ããããŸãã æåã®- ã€ã³ã©ã€ã³ãã©ã¡ãŒã¿ãŒã䜿çšãããšãã¡ãœããå ã®ãã©ã¡ãŒã¿ãŒããã®ãªãã©ã«ãŸãã¯ãã®ãªãã©ã«ã§çœ®ãæããããšãã§ããŸãã ããšãã°ã次ã®ã³ãŒãã§ã¯
åŒæ°
value
ã
400
å€æŽã§ããŸãã
ãã©ã¡ãŒã¿ãŒå€ã«è€æ°ã®ãªãã·ã§ã³ãããå ŽåãReSharperã¯ã©ã¡ãã䜿çšããããå°ããŸãã
ReSharperã¯ããã©ã¡ãŒã¿ãŒã®äœ¿çšã«ã€ããŠéåžžã«è©³çŽ°ãªåæãè¡ããŸãã ãŠãŒã¶ãŒããã©ã¡ãŒã¿ãŒãå¥ã®ãã©ã¡ãŒã¿ãŒã«çœ®ãæããå¿ èŠãããå ŽåãReSharperã¯åæ§ã®ãªãã·ã§ã³ãæäŸããŸãã
2çªç®ã®ãªãã¡ã¯ã¿ãªã³ã°ã¯Pull ParameterãšåŒã°ããæ°ãããã©ã¡ãŒã¿ãŒãã¡ãœããã«è¿œå ãããå Žåãã³ãŒã«ãã§ãŒã³å šäœã«åºã¥ããŠãããã®åŒã³åºãã眮ãæãããªãã·ã§ã³ã®ãããããéžæã§ããŸãã
æåŸã«ã3çªç®ã®ãªãã¡ã¯ã¿ãªã³ã°- ã€ã³ã¹ã¿ã³ã¹ã¡ãœããã®ç§»åã«ããããã¹ãŠã®åŒã³åºãã®æå¹æ§ãç¶æããªãããããã¯ã©ã¹ããå¥ã®ã¯ã©ã¹ã«ã¡ãœããã移åã§ããŸãã
ç¯å²å ã§ä¿®æ£
ã¹ã³ãŒãå ã®ä¿®æ£ãŸãã¯ãç¹å®ã®å¯èŠæ§ãŸãŒã³å ã®ä¿®æ£ãã¯ãç¹å®ã®ã¿ã€ãã®ä¿®æ£ãã³ãŒãå ã®ç¹å®ã®èŠçŽ ã ãã§ãªãããã¡ã€ã«ããããžã§ã¯ãããŸãã¯ãœãªã¥ãŒã·ã§ã³å šäœã«ãé©çšããæ©èœã§ãã
ãã¡ã€ã«ã»ãããäœæããããã®ãã³ãã¬ãŒã
ReSharper 8ã§ã¯ãLive Templatesã¡ã«ããºã ãæ¡åŒµãããåããã³ãã¬ãŒãããè€æ°ã®ãã¡ã€ã«ãäžåºŠã«çæã§ããããã«ãªããŸããã ãããã®ãã³ãã¬ãŒãã®äœæã¯ç°¡åã§ãããã®ããããã³ãã¬ãŒããšãã£ã¿ãŒã«ãã¡ã€ã«ãè¿œå ããããã®2ã€ã®ãã¿ã³ã衚瀺ãããŸããã
æ¢åã®ãã³ãã¬ãŒããããã¡ã€ã«ãè¿œå ããããæ°ãããã³ãã¬ãŒããäœæã§ããŸãã ãã®å Žåããšãã£ã¿ãŒã¯ãã¡ã€ã«ãç·šéããããã«ããã€ãã®éšåã«ãåå²ããããŸãã
ãã«ããã¡ã€ã«ãã³ãã¬ãŒãã®ãã¹ãŠã®ãã¡ã€ã«ã¯å ±éã®å€æ°ã䜿çšã§ããŸããããã«ãããããšãã°ã¢ããªã±ãŒã·ã§ã³ã®ããã€ãã®ç°ãªãã¬ã€ã€ãŒã®äœæãå€§å¹ ã«ç°¡çŽ åãããŸãã
ReSharperã®å»ºç¯ããŒã«
ç§ãã¡ã¯ãVisual Studioã§å€§èŠæš¡ãªãœãªã¥ãŒã·ã§ã³ã䜿çšããä»ã®å€ãã®éçºè ãšåæ§ã«ããããžã§ã¯ããçžäºã«ã©ã®ããã«äŸåããŠãããã確èªããããšèããŠããŸãã æ®å¿µãªããã Visual Studio Ultimateããã«ãããReSharperãœãŒã¹ã³ãŒãã®äŸåé¢ä¿è¡šçŸã¯ç解ããã®ãéåžžã«å°é£ã§ãã
ãã®çµæããããžã§ã¯ãã®äŸåé¢ä¿ã衚瀺ããããã®
ããã¯ã©ã®ããã«æ©èœããŸããïŒ Visual Studioã§ãœãªã¥ãŒã·ã§ã³ãéããããã¡ãã¥ãŒããReSharper | Architecture | Build Architecture Graphã³ãã³ããéžæããŸãã
ReSharperã¯ãœãªã¥ãŒã·ã§ã³ãåæãããã¹ãŠã®ãããžã§ã¯ãã®äŸåé¢ä¿å³ã衚瀺ããŸãã éåžžããã®ããã«ãããžã§ã¯ãã ã³ã³ãã€ã«ãã å¿ èŠã¯ãããŸãã ã
äŸåé¢ä¿ã°ã©ãã®èŠçŽ ã®äœçœ®ã¯ãæé©ãªè¡šç€ºãå®çŸããããã«èªåçã«æ±ºå®ãããŸãã ã³ãŒãã¡ããªãã¯ã¹ã®è¡šç€ºæ©èœãæå¹ã«ãªã£ãŠããå ŽåïŒããã©ã«ãã§æå¹ã«ãªã£ãŠããå ŽåïŒãäŸåé¢ä¿ã°ã©ããæ§ç¯ãããšãã«ããªã³ã¯åæãéåæã«å®è¡ãããŸãïŒReSharperã¯ãœãªã¥ãŒã·ã§ã³å šäœãåæãããããžã§ã¯ãã®æ¥ç¶æ§ã®åºŠåãïŒãªã³ã¯ã®æ°ïŒã衚瀺ããŸãã
ãããã¯ãã¹ãŠå¥ã®ã¹ã¬ããã§è¡ããããããReSharperãä»äºãããŠããéãã³ãŒãã®èšè¿°ãç¶ããããšãã§ããŸãã
ãã¥ãŒã«ã¯2çš®é¡ã®ãªã³ã¯ç¢å°ããããŸãã é»ãç¢å°ã¯ä»ã®ãããžã§ã¯ããžã®ã¢ã¯ãã£ããªãªã³ã¯ã瀺ãã ç°è²ã®ç¢å°ã¯ãã«ããäžæããã«åé€ã§ããæªäœ¿çšã®ãªã³ã¯ã瀺ããŸãã ãœãªã¥ãŒã·ã§ã³ãšã¯ã¹ãããŒã©ãŒã§ã¢ãŒããã¯ãã£å³ã®ã¹ã±ãŒã«ãéžæã§ããŸããããšãã°ãè€æ°ã®ãããžã§ã¯ããæã€ãã©ã«ããŒã®ã¿ãéžæããå Žåããããã®ãããžã§ã¯ãã®ã¿ãå³ã«åå ããŸãã é©åãªããã¯ã¹ããªã³ã«ããã ãã§ããã¬ãŒã³ããŒã·ã§ã³ã«å«ãããããžã§ã¯ããïŒèŠçŽ ããšã«ïŒåå¥ã«éžæããããšãã§ããŸãã
ãã®ãã§ãã¯ããã¯ã¹ãŸãã¯ãã®ãã§ãã¯ããã¯ã¹ããªã³ã«ãããšããã€ã¢ã°ã©ã å ã®å¯Ÿå¿ããèŠçŽ ã衚瀺ãŸãã¯é衚瀺ã«ã§ããŸãã ããã«ãããå·ŠåŽã®ãªã¹ãã®ã¢ã€ãã ãéžæãŸãã¯é€å€ãããçŽåŸã«ãç°ãªããµãã·ã¹ãã éã®é¢ä¿ã®è¡šçŸã®å€åã確èªã§ããŸãã
ãããžã§ã¯ããã°ã«ãŒãåããããã®ãªãã·ã§ã³ãããã€ããããŸãïŒ ãªã ïŒãããžã§ã¯ããã°ã«ãŒãåããªãïŒã ãœãªã¥ãŒã·ã§ã³ãã©ã«ã㌠ïŒãããžã§ã¯ããã©ã«ããŒã«ããã°ã«ãŒãåïŒãããã³ãã¡ã€ã«æ§é ïŒãã¡ã€ã«ãç©ççã«é 眮ãããŠãããã©ã«ããŒã«ããã°ã«ãŒãåïŒã
ããŒã«ããŒã«ã¯æ¬¡ã®ãã¿ã³ããããŸãã
- ã°ã©ãã®æãããã¿ãšã°ã©ãã®å±éã䜿çšãããšãã°ã«ãŒãåã䜿çšãããŠããé åãæãããã¿ãŸãã¯å±éã§ããŸãã æãããã¿ã°ã«ãŒãã¯æ¬¡ã®ãšããã§ãã
- ã°ã«ãŒãåããããããžã§ã¯ãã¯ããããã+ãŸãã¯-ã¢ã€ã³ã³ãããã«ã¯ãªãã¯ããŠæå°åãŸãã¯æ¡åŒµããããšãã§ããŸãã
- [ ã³ãŒãã¡ããªãã¯ã®è¡šç€º/é衚瀺 ]ãã¿ã³ã䜿çšãããšããããžã§ã¯ãã³ãŒãã«é¢é£ããã¡ããªãã¯ãé衚瀺ãŸãã¯è¡šç€ºã§ããŸãã ãããã®ã¡ããªãã¯ã¯ã䜿çšæžã¿ãªã³ã¯ãšæªäœ¿çšãªã³ã¯ã瀺ããŸãïŒããããé»ãšç°è²ã®ç¢å°ïŒïŒ
- ãããã®ãªã³ã¯ãã©ãã§åŒã³åºããããã確èªããã«ã¯ãã€ã³ãžã±ãŒã¿ãŒãå³ã¯ãªãã¯ããŠ[䜿çšç¶æ³ã衚瀺... ]ãéžæããŸãã
- Show Transitive Referencesãã¿ã³ã䜿çšãããšãçŽæ¥ãªã³ã¯ã ãã§ãªãããã©ã³ãžãããªã³ã¯ã衚瀺ã§ããŸããã€ãŸããAâBâCã®è¡šç€ºã«å ããŠãAâCããã€ã¢ã°ã©ã ã«è¡šç€ºãããŸãã
- Save Architecture Graphã³ãã³ãã䜿çšãããšãã°ã©ãããã¡ã€ã«ã«ä¿åã§ããŸãã
- Show DiffããŒã ã¯ã2ã€ã®ã¢ãŒããã¯ãã£ã°ã©ãã®éãã瀺ããŠããŸãã ïŒãœãªã¥ãŒã·ã§ã³ãããŒããããŠããªãå Žåã§ãïŒãããã¡ãã¥ãŒãããã®é¢æ°ãåŒã³åºãããšãã§ããŸãïŒ
ã¢ãŒããã¯ãã£ã°ã©ãã¯ãã¡ã€ã«ã«ä¿åã§ããããããŠãŒã¶ãŒã¯ããã°ã©ã ã®éçºäžã«ã¢ãŒããã¯ãã£å³ã®å€æŽã確èªã§ããŸãã 以äžã¯ããåããšãåŸãã®ã¢ãŒããã¯ãã£ã¹ãããã·ã§ãããæ¯èŒãããšãã«ãReSharperãå€æŽã衚瀺ããæ¹æ³ã®äŸã§ãã
ReSharperèªäœã®ãµãã·ã¹ãã ã®1ã€ã®éçºã®ãã¥ãŒã次ã«ç€ºããŸãã èµ€ã¯ãœãªã¥ãŒã·ã§ã³ã®åé€ãããéšåã瀺ããæ¿ãç·ã¯æ°ããè¿œå ãããéšåã瀺ããŸãã åæ§ã«ãæ°èŠããã³åé€ããããªã³ã¯ã瀺ãããŸãã
ãœãªã¥ãŒã·ã§ã³ãšã¯ã¹ãããŒã©ãŒã§ããªãã¿ã®ã³ã³ããã¹ãã¡ãã¥ãŒã¯ã察å¿ããããŒããå³ã¯ãªãã¯ããŠãã¢ãŒããã¯ãã£ãã¥ãŒã¢ãŒãã§åŒã³åºãããšãã§ããŸãã
æ¡åŒµæ©èœã䜿çšããŠäœæ¥ãç°¡çŽ åãã
Resharperã«ã¯ç¬èªã®æ¡åŒµæ©èœã®ãšã³ã·ã¹ãã ããããReSharper 8ã§ã¯ãããã®æ¡åŒµæ©èœã®æ€çŽ¢ãšã³ãžã³ãå€§å¹ ã«ç°¡çŽ åããŸããã NuGetã䜿çšããŠæ¡åŒµãã£ã¬ã¯ããªãé 眮ãããšãã¯ã³ã¯ãªãã¯ã§ãã©ã°ã€ã³ãããŠã³ããŒãããŠã€ã³ã¹ããŒã«ã§ããŸãã
ãããã«
ãã®èšäºã§èª¬æãããã£ãã®ã¯ããããããã ãã§ãã ã質åããåŸ ã¡ããŠããŸãã 補åããŒãžã«ã¢ã¯ã»ã¹ããŠãReSharper 8.0ã®30æ¥éç¡æè©Šçšçã®è©³çŽ°ãããŠã³ããŒãã§ããŸãã
åãã§ããã°ã©ã ïŒ
JetBrainsããŒã