source inside学习指导
- 格式:doc
- 大小:388.00 KB
- 文档页数:13
Unit Three If I Were 21 (text)I. Detailed Study of the TextII. Translation of Some Difficult Sentences in the TextIII. Spoken EnglishIV. GrammarV. Keys to ExercisesUnit DirectionsThe author gives some advice to the young men on how to choose a job. Instead of telling them what they should do, the author takes a more personal stand. That is because young people seldom admit they need any kink of guidance and they frequently rebel against it. So instead of telling them what to do directly, he talks as if he were one of them. This makes the tone more commendatory than peremptory so as to be accepted more easily.学习流程图⇒Get familiar with the New Words, Idioms and Expressions on Pages 40-41, especially the Word Study on Pages 46-49.⇒Read the text 1. Get the main idea of it.2. Mark out the difficult language points and sentencestructure, and refer to I and II.3. Answer the questions on Page 42.⇒Read the text again, to be sure you have understood it.⇒Do the Exercises and check.⇒If you h ave enough time, read the Extra Information for it’s very interesting and helpful.⇒Whenever you have chance, practice the Spoken English for saying you intend to do something.I. Language points in the text1. If I were 21 and wanted to study medicine, I don’t think I would pack off to school. would: (modal verb)情态助动词,这里表示:委婉地提出建议e.g.1: I would think about the offer carefully.e.g.2: I wouldn’t consider him a proper candidate. (依我看,他不是个合适的人选。
ip nat inside/outside source/destination详解(2011-11-15 15:23:16)转载▼ip nat inside source static 1.1.1.1 2.2.2.2ip nat inside destination list 1 pool rocip nat outside source static 2.2.2.2 1.1.1.1ip nat outside destination list 2 pool aking解析以上几条命令:把从inside接口进入,从outside接口出去的数据包源地址1.1.1.1转换为2.2.2.2把从inside接口进入,从outside接口出去的数据包list 1中目的地址转换为pool roc中地址;把从outside接口进入,从inside接口出去的数据包源地址2.2.2.2转换为1.1.1.1把从outside接口进入,从inside接口出去的数据包list 2中的目的地址转换为pool aking 中地址;1) 首先,我们看一下NAT中的四种地址:inside local address,内网中源设备所使用的IP地址,此地址通常是一个私有地址;inside global address,公用地址,用于将私有地址转换为此地址,通常是ISP所提供;outside local address,目标设备所使用的地址,可以是目标设备用的私有地址,也可直接是公用地址;outside global address,目标设备所使用的公用地址;2) 接着,我们看一下NAT中的转换方式:从内网中设备上发出的IP包是以“inside local address”作为源地址,以“outside local address”作为目的地址。
当数据包到达NAT设备的“inside”接口后,地址分别被翻译成“inside global address”和“outside global address”并从“outside”接口送出。
NAT教学目标1、掌握NAT的基本术语2、掌握NAT的各种配置重点难点1、为什么需要nat2、 Local inside、Local outside、Global inside、Global outside地址的差别3、三种nat模式4、 Ip nat语句的使用应知1、 NAT的目的,NAT的缺点2、 Nat基本思想3、三种nat模式4、 Local inside、Local outside、Global inside、Global outside地址的差别应会1、选择何种nat模式2、静态nat、动态nat、端口复用nat的配置教学方法1、宏观上采用“实例驱动”,在微观上采用“边看边学”,学生通过教师的演示学习NAT的配置方法。
2、在课堂上注意讲、学、做相结合,注重与学生的互动,充分调动学生的积极性,培养学习兴趣、分析问题和解决问题的能力以及自学能力。
3、课堂上引入专业词汇,要求学生掌握。
教学过程1、课程过程(1) NAT介绍NAT的用途:节约IP地址,也可以实现一定程度的网络安全∙NAT的缺点:失去了端到端的连接性∙NAT基本思路:边界路由器上改变源IP地址(2) 静态NAT的配置∙静态NAT实际上无法节约IP地址∙静态NAT的使用场合:通常用于实现外网可以访问内网∙Local inside、Local outside、Global inside、Global outside地址介绍∙Ip nat inside source static命令的使用∙Ip nat inside和ip nat outside命令∙Show ip nat translation(3) 动态NAT的配置∙动态NAT的基本原理∙动态NAT中的地址池定义:ip nat pool命令∙使用NAT功能的内部主机地址的定义:access-list命令∙Ip nat inside source list XX pool YY命令的使用(4) PAT的配置∙动态NAT和PAT的差别:pat技术不仅更改了源IP地址,还改变了端口号,提高了IP的利用率∙Ip nat inside source list XX pool YY overlad命令的使用(5) 根据实训项目14的要求完成实训项目142、小结∙介绍了NAT的概念和原理∙介绍了不同NAT模式的配置方法3、专业英语∙NAT:网络地址转换∙PAT:端口复用技术∙Local inside:本地内部地址∙Local outside:本地外部地址∙Global inside:全局内部地址∙Global outside:全局外部地址∙Nat pool:nat地址池4、课后作业∙提交实验报告(实训项目14)∙什么是NAT?∙NAT有几种类型?∙复用动态NAT与动态NAT的差别是什么?∙如何查看NAT的活跃的转换?∙如何清除NAT转换表中所有的动态地址转换条目?∙如何查看NAT转换的统计信息?∙如图,请按要求完成实验。
Professional English Teaching Guide Part Two: Enhancing Learning ConsciousnessIntroductionLearning is a lifelong process, and as professionals, we know that learning never ends, especially when it comes to English language learning. To achieve the desired proficiency in English and become a professional and effective communicator, it is imperative that our learners develop a strong sense of learning consciousness. Thus, the primary objective of this guide is to provide strategies and techniques to teachers to enhance the self-motivation and self-awareness of their students towards English language learning. RationaleThe development of a strong sense of learning consciousness iscrucial for learners as it provides a sense of individual responsibility and accountability that is fundamental to succeeding in language learning. As teachers, our goal is to cultivate self-motivation in our students to help them recognize that they are in control of their learning and ultimately understand that learning requires consistent practice, discipline, and hard work.Teaching Strategies and Techniques1.Setting Clear and Realistic Learning GoalsOne essential strategy in enhancing learning consciousness issetting clear and realistic learning goals. Students need to understand what they need to achieve and the expected outcomes, which will help them recognize the value of their efforts. Teachers can guide their students in setting both short-term and long-term goals that are specific, measurable, achievable, relevant, and time-bound (SMART).2.Encourage Self-reflection and Self-evaluationAnother approach to enhancing learning consciousness is to encourage self-reflection and self-evaluation. It is crucial for students to reflect on their learning regularly and recognize their strengths and areas for improvement. Teachers can provide opportunities for students to reflect on their learning experience critically,creating an environment that promotes a positive attitude towards learning.3.Provide Meaningful FeedbackProviding meaningful feedback is another critical step teachers can take to help develop learning consciousness in their students. Feedback should be both specific and informative, highlighting the strengths of the learners and giving constructive suggestions for improvement. This approach ensures students remain motivated, informed, and feel supported throughout their learning journey.4.Incorporate Collaborative Learning ActivitiesCollaborative learning activities can help enhance learning consciousness among students. By working together, learners acquire essential skills such as time management, problem-solving, decision-making, communication, and leadership skills. Through the exchangeof ideas and opinions, students develop an appreciation of thedifferent perspectives of others, fostering a sense of shared responsibility, and creating a climate of mutual support.e Real-world Examples and ApplicationsUsing real-world examples and applications is crucial in enhancing learning consciousness. Learners understand better when they canrelate the learning content to real-life situations. Teachers canuse a variety of real-world materials such as news articles, videos, podcasts, and case studies to help learners understand the practical applications of what they are learning.ConclusionIn conclusion, learning consciousness is a critical factor in astudent’s success in English language learning. By encouragingself-motivation, self-reflection, and self-evaluation, providing meaningful feedback, incorporating collaborative learning activities and real-world examples, teachers can create an environment that fosters a strong sense of learning consciousness among theirstudents. As professionals, we must continuously support ourlearners in building confidence and taking control of their learning, creating a foundation for life-long learning.。
英语三层次学习指导法高中英语课文教学有双重任务:(1)对学生进行阅读技能、技巧的训练,培养其阅读理解能力。
(2)通过教学,使学生不断获得新的语言知识,提高实际运用英语的能力。
为了完成上述两项任务,杨素珍老师在教学实践中,逐步摸索总结出“三层次学习指导法”,即:整体式阅读、分段式精讲、提高性操练。
1.整体式阅读整体式阅读,就是把课文作为一个整体来处理,学生一接触课文就要统观全篇,把理解文章的思想内容和熟悉篇章结构放在首位,注意语言信息的整体输入。
具体分为三步走:(1)粗读。
阅读全文,表层理解,抓住大意,要求学生快速阅读课文,捕捉并记住文章的主要信息。
如时间、地点和人物等,教师可以为他们计算阅读时间,强调从头至尾一气读完,不要复读。
然后教师用一些简单、直接和针对中心大意的问题检查学生理解的程度。
(2)略读。
首次粗读以后,要求学生默读全文,中层理解,抓住较为具体的信息资料,并注意材料的有序性,教师可设计些难度适中的题目,要求学生带着问题去阅读。
阅读后可以做一些fact—finding questions或why, how questions.阅读时,只读与题目有关的部分,与题目无关的可以跳过去不读。
(3)细读。
逐段朗读或默读,深层理解,把握文章的篇章结构,划分层次段落并找出中心大意,然后就每段的内容进行讨论。
2.分段式精讲分段式精讲主要是学习课文中的语言知识点,引导学生分析较为复杂的语言现象。
学会重点,突破难点。
使学生的语言知识不断积累,学一篇课文,长一截知识,从而达到提高语言水平的目的。
在这个层次的教学中,教师要着重一个“精”字,学生要突出一个“练”字。
每课所讲的语言点不宜过多,但重点一定要讲深讲透,难点也必须解决。
在讲的同时,注意用造句、翻译和句型转换等练习给学生足够的操练,使语言知识当堂学习、当堂掌握。
此外,对课文还要评读,对作者的观点、写作方法、某些细节或精彩的句子教师要设疑提问,挖掘内蕴,及时地引导学生不断深化对课文的理解。
学会教学英语教学必备指南引用Learning to Teach: An Essential Guide to English Language TeachingTeaching English as a second or foreign language is a rewarding and challenging profession that requires a unique set of skills and knowledge. Whether you are a seasoned educator or just starting your teaching career, the ability to effectively impart the English language to students from diverse backgrounds is crucial. In this comprehensive guide, we will explore the essential elements of English language teaching, providing you with a roadmap to enhance your teaching practices and ensure the success of your students.Understand Your Students' NeedsThe foundation of effective English language teaching lies in understanding your students' needs, backgrounds, and learning styles. Take the time to assess your students' proficiency levels, their motivations for learning English, and any cultural or linguistic barriers they may face. This information will help you tailor your lessons to meet their specific requirements, ensuring that your teaching is engaging, relevant, and effective.Develop a Solid Pedagogical ApproachEffective English language teaching requires a strong pedagogical foundation. Familiarize yourself with various teaching methodologies, such as the communicative approach, task-based learning, and the direct method, and determine which approach or combination of approaches best suits your teaching context. Understanding the theoretical underpinnings of these methodologies will enable you to make informed decisions about lesson planning, classroom management, and assessment strategies.Foster a Communicative Classroom EnvironmentOne of the primary goals of English language teaching is to help students develop their communicative competence. Create a classroom environment that encourages active participation, risk-taking, and authentic communication. Incorporate a variety of interactive activities, such as role-plays, group discussions, and problem-solving tasks, that allow students to practice their speaking and listening skills in real-world contexts.Utilize Engaging and Diverse Teaching MaterialsCarefully select and design teaching materials that cater to the diverse learning needs of your students. This may include textbooks, authentic materials (e.g., news articles, videos, podcasts), and multimedia resources. Ensure that the content is engaging, relevant, and appropriately challenging, and that it aligns with your lessonobjectives and the overall curriculum.Incorporate Technology in Your LessonsIn the digital age, the integration of technology in the English language classroom can greatly enhance the learning experience. Explore the use of online platforms, educational apps, and multimedia tools to supplement your lessons, facilitate language practice, and provide opportunities for collaborative learning and independent study.Assess Student Progress EffectivelyOngoing assessment is crucial for monitoring student progress and adjusting your teaching strategies accordingly. Implement a variety of assessment methods, such as formative assessments (e.g., quizzes, classroom activities) and summative assessments (e.g., exams, projects), to evaluate your students' language proficiency, comprehension, and overall learning outcomes. Provide timely and constructive feedback to help your students identify their strengths and areas for improvement.Engage in Continuous Professional DevelopmentEffective English language teaching is an ongoing process that requires continuous learning and self-reflection. Engage in professional development opportunities, such as workshops, conferences, and online courses, to stay up-to-date with the latesttrends, research, and best practices in the field. Additionally, seek out peer-to-peer collaboration and mentorship to gain new insights and perspectives on your teaching practices.ConclusionBecoming an effective English language teacher is a journey of lifelong learning and self-improvement. By understanding your students' needs, developing a solid pedagogical approach, fostering a communicative classroom environment, utilizing engaging teaching materials, incorporating technology, assessing student progress effectively, and engaging in continuous professional development, you will be well on your way to providing your students with a transformative and enriching learning experience. Remember, the success of your students is a reflection of your own dedication and commitment to the art of English language teaching.。
人教版八年级英语上册全册学习指导本文档旨在为八年级学生提供人教版英语上册研究指导,帮助他们更好地掌握课程内容,提升研究成绩。
研究方法1. 合理安排研究时间:制定一个研究计划,合理安排每天的研究时间,确保每个单元都有足够的复和掌握的时间。
2. 善于总结:在研究过程中,及时总结所学知识点,整理笔记,以便复和回顾。
3. 制定研究目标:每个单元开始时,制定明确的研究目标,帮助你更明确知道自己需要掌握的内容。
4. 多种研究方式:尝试不同的研究方式,如听力练、口语练、写作练等,帮助提高英语能力。
5. 与他人合作研究:与同学一起研究、讨论和分享,相互促进,帮助提高研究效果。
研究内容本册教材共分为若干单元,每个单元包括听说读写四个方面。
以下是各单元的研究要点:1. Unit 1: Greetings and Introductions- 学会用英语进行问候和自我介绍- 理解礼貌用语和文化差异- 研究如何描述人物特征和爱好2. Unit 2: School Life- 研究相关学校用语和日常表达- 能够描述学校设施和活动- 了解学校规则和班级活动3. ...(继续介绍其他单元的研究要点)研究辅助资料除了教材之外,推荐以下研究辅助资料,帮助学生更好地研究英语:1. 单词本:制作一个个人单词本,记录生词和常用短语,方便复。
2. 听力材料:听英语广播、音乐和影视剧,提升听力理解能力。
3. 英语研究网站:浏览一些英语研究网站,如BBC Learning English等,提供各种研究资源和练题。
希望本文档能对八年级学生的英语学习有所帮助。
祝愿大家学有所成!。
Independent learning is a crucial aspect of education that empowers students to take charge of their own learning process.It is a skill that is not only essential for academic success but also for personal and professional development throughout ones life.Here are some key points that highlight the importance of independent learning:1.SelfDirected Learning:Independent learning allows students to set their own goals and pace of learning.This selfdirected approach fosters a sense of ownership and motivation, which can lead to a deeper understanding and retention of knowledge.2.Critical Thinking Skills:When students are responsible for their own learning,they are required to think critically about the material they are studying.This helps in developing analytical skills,problemsolving abilities,and the capacity to evaluate information critically.3.Adaptability:In a rapidly changing world,the ability to learn and adapt is essential. Independent learners are better equipped to adjust to new situations and continue learning throughout their lives,which is crucial for personal and professional growth.4.Time Management:Independent learning requires students to manage their time effectively.They must prioritize tasks,set deadlines,and allocate time for studying, which are skills that are invaluable in both academic and professional settings.5.Resourcefulness:Independent learners must know how to find and utilize resources effectively.This includes using libraries,online databases,and other educational tools to gather information and enhance their understanding of a subject.6.Lifelong Learning:The concept of lifelong learning is becoming increasingly important in todays society.Independent learners are more likely to continue seeking knowledge and skills beyond their formal education,which can lead to personal fulfillment and professional advancement.7.SelfConfidence:Successfully navigating the challenges of independent learning can boost a students selfconfidence.This confidence can translate into other areas of life, such as taking on leadership roles or pursuing new career opportunities.8.Resilience:Independent learners often face setbacks and must learn to overcome them. This resilience is a valuable trait that can help individuals persevere through challenges in both their personal and professional lives.9.Creativity:When students are not confined to a strict curriculum,they have thefreedom to explore topics that interest them,which can lead to creative thinking and innovative problemsolving.10.Personalized Learning Experience:Each student has unique learning needs and preferences.Independent learning allows for a more personalized approach,where students can focus on areas they are passionate about or where they need additional support.In conclusion,independent learning is not just about acquiring knowledge it is about developing a set of skills that are essential for success in the modern world.It prepares students to be proactive,selfreliant,and adaptable individuals who can contribute positively to society.。
Source Insight实质上是一个支持多种开发语言(java,c ,c 等等)的编辑器,只不过由于其查找、定位、彩色显示等功能的强大,常被我们当成源代码阅读工具使用。
作为一个开放源代码的操作系统,Linux附带的源代码库使得广大爱好者有了一个广泛学习、深入钻研的机会,特别是 Linux内核的组织极为复杂,同时,又不能像windows平台的程序一样,可以使用集成开发环境通过察看变量和函数,甚至设置断点、单步运行、调试等手段来弄清楚整个程序的组织结构,使得Linux内核源代码的阅读变得尤为困难。
当然Linux下的vim和emacs编辑程序并不是没有提供变量、函数搜索,彩色显示程序语句等功能。
它们的功能是非常强大的。
比如,vim和emacs就各自内嵌了一个标记程序,分别叫做ctag和etag,通过配置这两个程序,也可以实现功能强大的函数变量搜索功能,但是由于其配置复杂,linux附带的有关资料也不是很详细,而且,即使建立好标记库,要实现代码彩色显示功能,仍然需要进一步的配置(在另一片文章,我将会讲述如何配置这些功能),同时,对于大多数爱好者来说,可能还不能熟练使用vim和emacs那些功能比较强大的命令和快捷键。
为了方便的学习Linux源程序,我们不妨回到我们熟悉的window环境下,也算是“师以长夷以制夷”吧。
但是在 Window平台上,使用一些常见的集成开发环境,效果也不是很理想,比如难以将所有的文件加进去,查找速度缓慢,对于非Windows平台的函数不能彩色显示。
于是笔者通过在互联网上搜索,终于找到了一个强大的源代码编辑器,它的卓越性能使得学习Linux内核源代码的难度大大降低,这便是Source Insight3.0,它是一个Windows平台下的共享软件,可以从/上边下载30天试用版本。
由于Source Insight是一个Windows平台的应用软件,所以首先要通过相应手段把Linux系统上的程序源代码弄到Windows平台下,这一点可以通过在 linux平台上将/usr/src目录下的文件拷贝到Windows平台的分区上,或者从网上光盘直接拷贝文件到Windows平台的分区来实现。
下面主要讲解如何使用Source Insight,考虑到阅读源程序的爱好者都有相当的软件使用水平,本文对于一些琐碎、人所共知的细节略过不提,仅介绍一些主要内容,以便大家能够很快熟练使用本软件,减少摸索的过程。
安装Source Insight并启动程序,可以进入图1界面。
在工具条上有几个值得注意的地方,如图所示,图中内凹左边的是工程按钮,用于显示工程窗口的情况;右边的那个按钮按下去将会显示一个窗口,里边提供光标所在的函数体内对其他函数的调用图,通过点击该窗体里那些函数就可以进入该函数所在的地方。
由于Source Insight实质上是一个支持多种开发语言(java,c ,c++等等)的编辑器,只不过由于其查找、定位、彩色显示等功能的强大,而被我们当成源代码阅读工具使用。
所以,为了有效的阅读源程序,首先必须选择功能菜单上的“Project”选项的子菜单“New Project”新建一个项目,项目名称可以自由选定,当然也可以选择删除(Remove)一个项目。
当删除一个项目的时候,并不删除原有的源代码文件, 只是将该软件生成的那些工程辅助文件删除。
设定之后,将会弹出一个对话框如图2,接受默认选择,如果,硬盘空间足够,可以将第一个复选框选上,该选项将会需要与源代码大致同等的空间来建立一个本地数据库以加快查找的速度。
图2 工程设置点击“OK”按钮,接受选择后,将会有一个新的对话框弹出,在这个对话框里,可以选择将要阅读的文件加入工程,一种方式是通过在File Name中输入要阅读源代码文件的名称,点击“Add”按钮将其加入,也可以通过其中“Add All”和“Add Tree”两个按钮可以将选中目录的所有文件加入到工程中,其中“Add All”选项会提示加入顶层文件和递归加入所有文件两种方式,而“Add Tree”相当于“Add All”选项的递归加入所有文件,可以根据需要使用,就我来说,更喜欢“Add Tree”一些。
由于该程序采用了部分打开文件的方式,没有用到的文件不会打开,所以,加入数千个文件也不用担心加入的文件超出程序的所能容忍的最大值,我就是采用“Add Tree”的方式将Linux2.4内核的四千五百九十一个文件加入的。
图3 添加文件加入文件后,点击一个文件,可以出现使用界面,如图4所示,其中,右边的那个窗口(Linux Project,即工程窗口)缺省按照字母顺序列出当前工程中所有的文件。
图4 工作窗口点击一个文件就可以打开该文件,显示如图5所示,进入到右边的那个窗口分别可以以文件列表的方式,列出所有的文件,每个窗体下边有一排按钮,左边的窗口(21142.c)从左至右分别为:按字母顺序排列所有标记、按照文件中行数顺序排列标记、按照类型排列标记、浏览本地文件标记、标记窗口属性。
右边的窗口(Linux Project)从左至右分别为:按字母顺序文件列表、显示文件夹、按照文件类型归类文件、全部文件的所有标记列表、按照标记类型归类标记、跳转到定义处、显示标记信息、浏览工程标记、查找函数调用、工程属性,其中全部文件的所有标记列表选项可能要一段时间抽取标记,同步到数据库去,如果开始选择了建立标记数据库,将会在今后节省同步时间,最有用的莫过于浏览标记信息和查找函数调用,前者可以通过“Jump”按钮在不同的地方查找同样的标志,还可以通过“Reference”按钮结合后者进行全局的标记查找。
Reference功能是Source Insight的特色之一,它可以在速度极快的在整个工程中找到所有的标记,并且在该行程序的前边加上红色箭头的小按钮链接上。
图6是一个Reference搜索后的结果,它可以有两种模式,一种集中显示结果,图6显示的就是这种模式,在这种模式下,可以通过前边的红色箭头小按钮进入另外一种模式,该标记的具体的所在处,也可以通过标记的具体所在处点击红色箭头小按钮进入警种模式,还可以通过工具条上的两个红色小箭头直接在第二种模式下前后移动,察看相应信息。
它的这个强大的功能使得阅读Linux源程序有如神助。
但是要注意的是,当进行了第二次“Reference”时,它会提示你将结果集附加在第一个结果集的后边还是取代第一个结果集。
如果选择前者,不能对结果集根据前后两次搜索结果进行分类,然后在其子类里进行移动,只能在整个结果集里移动;如果,选择后者,结果集将会被替换为第二次搜索的结果,略微有些不方便。
图6 Reference的搜索结果Source Insight设置1、背景色选择要改变背景色Options->preference->windows background->color设置背景色2、解决字符等宽对齐问题。
SIS默认字体是VERDANA,很漂亮。
这网页上应该也是用的VERDANA字体。
但由于美观的缘故,VERDANA字体是不等宽的。
比如下面两行llllllllllMMMMMMMMMM同样10个字符,长度差多了.用VERDANA来看程序,有些本应该对齐的就歪了。
解放方法是使用等宽的字体,但肯定比较丑。
比较推荐的是用Courier New。
3、解决TAB键缩进问题Options-> Document Options里面的右下角Editing Options栏里,把Expand tabs勾起来,然后确定。
OK,现在TAB键的缩进和四个空格的缩进在SIS 里面看起来就对齐咯4、SI中的自动对齐设置:在C程序里, 如果遇到行末没有分号的语句,如IF, WHILE, SWITCH等, 写到该行末按回车,则新行自动相对上一行缩进两列。
Option->Document option下的Auto Indient中Auto Indient Type有三种类型 None,Simple,Smart。
个人推荐选用Simple类型。
5、向项目中添加文件时,只添加特定类型的文件(文件类型过滤器)编辑汇编代码时,在SIS里建立PROJECT并ADD TREE的时候,根据默认设置并不会把该TREE里面所有汇编文件都包含进来只加了.inc和.asm后缀的,.s后缀的没有。
而且用SIS打开.s的文件,一片黑白没有色彩,感觉回到DOS的EDIT时代了……解决方法是在Options->Document Options里面,点左上的Document Type 下拉菜单,选择x86 Asm Source File,然后在右边的File filter里*.asm;*.inc;的后面加上*.s;接着CLOSE 就可以了。
上面问题解决了,但注意加入*.s后还需要重新ADD TREE一遍才能把这些汇编加到PROJECT里面。
6、添加文件类型用户可以定义自己的类型,Options->Document Options->add type,定义文件类型名以及文件名后缀。
勾选include when adding to projects在添加目录下文件到工程是该类文件就会添加进SI的工程。
如果需要将所有文件添加进SI的工程,可以定义一种文件类型*.*。
7、恢复ctrl+a的全选功能通过关键词save 找到save all,更改为ctrl+shift+a,通过关键词select 找到select all,更改为ctrl +aSource Insight常用的快捷键:Ctrl+= :Jump to definitionAlt+/ :Look up referenceF3 : search backwardF4 : search forwardF5: go to LineF7 :Look up symbolsF8 :Look up local symbolsF9 :Ident leftF10 :Ident rightAlt+, :Jump backwordAlt+. : Jump forwardShift+F3 : search the word under cusor backwardShift+F4 : search the word under cusor forwardF12 : incremental searchShift+Ctrl+f: search in projectshift+F8 : hilight wordSource Insight的窗口操作:project window Ctrl+O打开symbol window Alt+F8打开和关闭Contex Window 自定义键打开和关闭Relation Window 自定义键打开先锁定再刷新联系在Source Insight中添加自定义功能的步骤如下:1.Source Insight中,Options->Custom Commands...->Add...,New Command name 随便写,我的是"Edit with Vim"2.Run中写入: "C:\Program Files\Vim\vim63\gvim.exe"--remote-silent +%l %f意思是在当前已经打开的gvim窗口里面打开当前的文件,并且跳转到指定行%l为当前的行号,%f为文件名使用--remote-silent 的作用是,如果已经打开了对应文件,就不会打开第二次,而是在已经打开的文件里跳转到对应行3.还是同一个对话框里面,选择Keys->Assign New Key...->按F12,如果你已经将F12设置给其他命令,选择其他的按键就行了下面是一些常用自定义功能:( CUSTOM COMMANDS )打开资源管理器并选中当前文件ShellExecute open explorer /e,/select,%f查看log"C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe" /command:log /path:%f /notempfile /closeonenddiff"C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe" /command:diff /path:%f /notempfile /closeonend取得锁定(check out)"C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe"/command:lock /path:%f /notempfile /closeonend提交(check in)"C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe"/command:commit /path:%f /notempfile /closeonend更新(update)"C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe"/command:update /path:%f /notempfile /closeonend更新整个目录(update all)"C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe"/command:update /path:*.* /notempfile /closeonend取消锁定(undo check out)"C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe"/command:revert /path:%f /notempfile /closeonend在ultriEdit中编辑"C:\Program Files\UltraEdit-32/uedit32" %f在vim中编辑并定位到当前行"C:\Program Files\Vim\vim63\gvim.exe" --remote-silent +%l %f汇总其他小技巧:让{ 和} 不缩进:Options->Document Options->Auto Indent->Indent OpenBrace/Indent Close Bracehao space: SourceInsight 小技巧1、按住"ctrl", 再用鼠标指向某个变量,点击一下,就能进入这个变量的定义。