View Full Version : معادل #region در اندروید و Eclipse
jaykob
دوشنبه 06 مهر 1394, 08:03 صبح
سلام
من معادل region در ویژوال استودیو که می آد یکسری کد رو داخل یک بلاک قرار می ده و می شه جمع کرد کد هارو می خوام توی Eclipse چطور باید این کارو بکنم ؟
تشکر
Nevercom
دوشنبه 06 مهر 1394, 15:51 عصر
من قبلاً از پلاگین Coffee Bytes برای اینکار استفاده کرده بودم.
این لینک در StackOverflow رو ببینید: http://stackoverflow.com/q/9866245/1686304
jaykob
چهارشنبه 08 مهر 1394, 10:19 صبح
من قبلاً از پلاگین Coffee Bytes برای اینکار استفاده کرده بودم.
این لینک در StackOverflow رو ببینید: http://stackoverflow.com/q/9866245/1686304
سلام دوست عزیز
ممنون بابت پاسختون
من نصب رو انجام دادم و همه چیز درست بود تنظیمات داخل eclipse رو هم انجام دادم مشکلی نداشت ولی توی کد مثل کد زیر رو می زارم اون فلش منها نمی آد که بتونم کد رو جمع کنم :
//region SomeName
int a=2;
//endregion SomeName
ممنون می شم راهنمایی کنید
با تشکر
Nevercom
چهارشنبه 08 مهر 1394, 20:09 عصر
نقل قول از http://kosiara87.blogspot.com/2011/12/how-to-install-coffee-bytes-plugin-in.html
Installation instructions:
Install plugin
Unpack the downloaded file eclipse-folding-plugin.tar.gz
Copy the contents of the:
features folder => eclipse features folder
plugins folder => eclipse plugins folder
Configure plugin in Eclipse:
Select "Windows->Preferences"
Select "Java->Editor->Folding"
Check the "Enable folding" option
Select "Coffee Bytes Java Folding" in the "Select folding to use:" option
Check "User Defined Regions" in the "General Fold Setting:" option
vBulletin® v4.2.5, Copyright ©2000-1404, Jelsoft Enterprises Ltd.