Μετάβαση στο κύριο περιεχόμενο

The reality and the future of software engineering

Counting Words, Characters and Lines with Notepad++

One of the best text editors in Windows is Notepad++ as it is lightweight, it provides a wealth of useful functionality –let alone the possible extensions through plugins.

File Summary


A useful feature of Notepad++ is that you can easily get a view on the size metrics of the document you are currently working on (characters, words, lines, etc). However, the menu is not that intuitive on finding that capability. So in order to get the above values you should go to:

View >> Summary…



The summary contains the following:
  • Full path
  • Created
  • Modified
  • File length (in byte)
  • Characters (without blanks)
  • Words
  • Lines
  • Current document length


Selected Area Summary

Nevertheless, the above summary provides file-level statistics and it may only provide the number of bytes and characters of a selected area. In order to count the word, characters, lines, etc. for just a selected part of the file you can install and use the TextFX Character plugin through the Plugin Manager:

Plugins >> Plugin Manager >> Show Plugin Manager



Then, at the Available tab select the TextFX Character plugin and install it. You may be required to restart the application. Afterwards select a text range and use the following menu:

TextFX >> TextFX Tools >> Word Count



The window that pops up provides the following information:
  • Words
  • Characters (no spaces)
  • Characters
  • UTF-8 Characters
  • UTF-8 Efficiency
  • Lines
  • Longest Line
  • Shortest nonblank line
  • Nonblank lines

Σχόλια

  1. useful information on topics that plenty are interested on for this wonderful post.Admiring the time and effort you put into your b!.. https://charactercount.org

    ΑπάντησηΔιαγραφή
  2. Great articles and great layout. Your blog post deserves all of the positive feedback it’s been getting. this

    ΑπάντησηΔιαγραφή

Δημοσίευση σχολίου

Δημοφιλείς αναρτήσεις από αυτό το ιστολόγιο

The reality and the future of software engineering

Let's try to address this issue and bring some peace of mind to the community. A lot of people, usually less exposed to the reality of designing, implementing, maintaining and ultimately demystifying software are concerned with the burning question of whether there will be a place for them in the AI era. It's not a difficult question to answer, but neither a trivial one. Let's try to do it in a consise manner, offer some insights or even motivation and do what we know to do best: solve problems. Stay tuned for the next post!

State Management in Stateless Web Applications: Basics

The proliferation of REST and statelessness in Web Application and Web API design, state management often becomes a matter of misunderstandings and conflict in development teams. Programmers of back-end systems may be used to assume that session-related state is preserved server side and may be referred to as needed by the application code. However, stateful implementations may suffer from performance and scalability limitations, making thus the stateless approach a viable alternative, especially when high-load Web-based systems are considered. How to pass data between requests in state-less / session-less Web applications The problem here is that there are cases in state-less Web applications where data from an interaction may be required in subsequent interactions to be processed by the server, even though they are not stored in the server in some form. In this case, you will have to let the Web client provide these data as context (or state) of subsequent interactions. ...